Module Name: src
Committed By: christos
Date: Thu Jan 24 17:44:59 UTC 2013
Modified Files:
src/usr.sbin/rtadvd: config.c
Log Message:
make it static const
To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/usr.sbin/rtadvd/config.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.sbin/rtadvd/config.c
diff -u src/usr.sbin/rtadvd/config.c:1.31 src/usr.sbin/rtadvd/config.c:1.32
--- src/usr.sbin/rtadvd/config.c:1.31 Fri Dec 14 04:48:31 2012
+++ src/usr.sbin/rtadvd/config.c Thu Jan 24 12:44:59 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: config.c,v 1.31 2012/12/14 09:48:31 roy Exp $ */
+/* $NetBSD: config.c,v 1.32 2013/01/24 17:44:59 christos Exp $ */
/* $KAME: config.c,v 1.93 2005/10/17 14:40:02 suz Exp $ */
/*
@@ -1308,7 +1308,7 @@ make_packet(struct rainfo *rainfo)
static int
getinet6sysctl(int code)
{
- int mib[] = { CTL_NET, PF_INET6, IPPROTO_IPV6, 0 };
+ static const int mib[] = { CTL_NET, PF_INET6, IPPROTO_IPV6, 0 };
int value;
size_t size;