Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netinet6 (minor) delint
details: https://anonhg.NetBSD.org/src/rev/75945183766c
branches: trunk
changeset: 517696:75945183766c
user: perry <perry%NetBSD.org@localhost>
date: Sat Nov 17 18:55:11 2001 +0000
description:
(minor) delint
diffstat:
sys/netinet6/in6.h | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r a645924e7935 -r 75945183766c sys/netinet6/in6.h
--- a/sys/netinet6/in6.h Sat Nov 17 08:21:43 2001 +0000
+++ b/sys/netinet6/in6.h Sat Nov 17 18:55:11 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: in6.h,v 1.31 2001/10/24 06:36:38 itojun Exp $ */
+/* $NetBSD: in6.h,v 1.32 2001/11/17 18:55:11 perry Exp $ */
/* $KAME: in6.h,v 1.83 2001/03/29 02:55:07 jinmei Exp $ */
/*
@@ -593,14 +593,16 @@
u_int32_t sum = 0;
const u_int16_t *w;
- w = (u_int16_t *) src;
+ /*LINTED*/
+ w = (const u_int16_t *) src;
sum += w[0];
if (!IN6_IS_SCOPE_LINKLOCAL(src))
sum += w[1];
sum += w[2]; sum += w[3]; sum += w[4]; sum += w[5];
sum += w[6]; sum += w[7];
- w = (u_int16_t *) dst;
+ /*LINTED*/
+ w = (const u_int16_t *) dst;
sum += w[0];
if (!IN6_IS_SCOPE_LINKLOCAL(dst))
sum += w[1];
Home |
Main Index |
Thread Index |
Old Index