Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netinet6 Constify an argument of regen_tmpaddr
details: https://anonhg.NetBSD.org/src/rev/8b3c0dc7194d
branches: trunk
changeset: 346286:8b3c0dc7194d
user: ozaki-r <ozaki-r%NetBSD.org@localhost>
date: Tue Jul 05 06:32:18 2016 +0000
description:
Constify an argument of regen_tmpaddr
diffstat:
sys/netinet6/nd6.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 48c4f177cd28 -r 8b3c0dc7194d sys/netinet6/nd6.c
--- a/sys/netinet6/nd6.c Tue Jul 05 04:25:23 2016 +0000
+++ b/sys/netinet6/nd6.c Tue Jul 05 06:32:18 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: nd6.c,v 1.200 2016/07/05 04:25:23 ozaki-r Exp $ */
+/* $NetBSD: nd6.c,v 1.201 2016/07/05 06:32:18 ozaki-r Exp $ */
/* $KAME: nd6.c,v 1.279 2002/06/08 11:16:51 itojun Exp $ */
/*
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nd6.c,v 1.200 2016/07/05 04:25:23 ozaki-r Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nd6.c,v 1.201 2016/07/05 06:32:18 ozaki-r Exp $");
#ifdef _KERNEL_OPT
#include "opt_net_mpsafe.h"
@@ -109,7 +109,7 @@
static void nd6_setmtu0(struct ifnet *, struct nd_ifinfo *);
static void nd6_slowtimo(void *);
-static int regen_tmpaddr(struct in6_ifaddr *);
+static int regen_tmpaddr(const struct in6_ifaddr *);
static void nd6_free(struct llentry *, int);
static void nd6_llinfo_timer(void *);
static void nd6_timer(void *);
@@ -680,7 +680,7 @@
/* ia6: deprecated/invalidated temporary address */
static int
-regen_tmpaddr(struct in6_ifaddr *ia6)
+regen_tmpaddr(const struct in6_ifaddr *ia6)
{
struct ifaddr *ifa;
struct ifnet *ifp;
Home |
Main Index |
Thread Index |
Old Index