Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netinet6 automatic aggregates are evil. make it static ...
details: https://anonhg.NetBSD.org/src/rev/757d71469134
branches: trunk
changeset: 543380:757d71469134
user: matt <matt%NetBSD.org@localhost>
date: Mon Feb 24 03:01:03 2003 +0000
description:
automatic aggregates are evil. make it static const.
diffstat:
sys/netinet6/in6.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r f49da691a02a -r 757d71469134 sys/netinet6/in6.c
--- a/sys/netinet6/in6.c Mon Feb 24 01:04:45 2003 +0000
+++ b/sys/netinet6/in6.c Mon Feb 24 03:01:03 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: in6.c,v 1.72 2003/02/01 06:23:46 thorpej Exp $ */
+/* $NetBSD: in6.c,v 1.73 2003/02/24 03:01:03 matt Exp $ */
/* $KAME: in6.c,v 1.198 2001/07/18 09:12:38 itojun Exp $ */
/*
@@ -66,7 +66,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: in6.c,v 1.72 2003/02/01 06:23:46 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: in6.c,v 1.73 2003/02/24 03:01:03 matt Exp $");
#include "opt_inet.h"
@@ -2238,7 +2238,7 @@
struct in6_addr *maskp;
int len;
{
- u_char maskarray[8] = {0x80, 0xc0, 0xe0, 0xf0, 0xf8, 0xfc, 0xfe, 0xff};
+ static const u_char maskarray[8] = {0x80, 0xc0, 0xe0, 0xf0, 0xf8, 0xfc, 0xfe, 0xff};
int bytelen, bitlen, i;
/* sanity check */
Home |
Main Index |
Thread Index |
Old Index