Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/netipsec Mark a variable __diagused



details:   https://anonhg.NetBSD.org/src/rev/1837b4d48dcb
branches:  trunk
changeset: 327457:1837b4d48dcb
user:      ozaki-r <ozaki-r%NetBSD.org@localhost>
date:      Sat Mar 08 12:18:04 2014 +0000

description:
Mark a variable __diagused

diffstat:

 sys/netipsec/ipsec_input.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 1c843b463cff -r 1837b4d48dcb sys/netipsec/ipsec_input.c
--- a/sys/netipsec/ipsec_input.c        Sat Mar 08 11:46:01 2014 +0000
+++ b/sys/netipsec/ipsec_input.c        Sat Mar 08 12:18:04 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ipsec_input.c,v 1.31 2013/11/03 18:37:10 mrg Exp $     */
+/*     $NetBSD: ipsec_input.c,v 1.32 2014/03/08 12:18:04 ozaki-r Exp $ */
 /*     $FreeBSD: /usr/local/www/cvsroot/FreeBSD/src/sys/netipsec/ipsec_input.c,v 1.2.4.2 2003/03/28 20:32:53 sam Exp $ */
 /*     $OpenBSD: ipsec_input.c,v 1.63 2003/02/20 18:35:43 deraadt Exp $        */
 
@@ -39,7 +39,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ipsec_input.c,v 1.31 2013/11/03 18:37:10 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ipsec_input.c,v 1.32 2014/03/08 12:18:04 ozaki-r Exp $");
 
 /*
  * IPsec input processing.
@@ -592,7 +592,7 @@
 ipsec6_common_input_cb(struct mbuf *m, struct secasvar *sav, int skip, int protoff,
     struct m_tag *mt)
 {
-       int af, sproto;
+       int af __diagused, sproto;
        struct ip6_hdr *ip6;
        struct m_tag *mtag;
        struct tdb_ident *tdbi;



Home | Main Index | Thread Index | Old Index