Source-Changes-HG archive

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

[src/trunk]: src/sys/netipsec add missing static



details:   https://anonhg.NetBSD.org/src/rev/b045ff946a88
branches:  trunk
changeset: 830195:b045ff946a88
user:      maxv <maxv%NetBSD.org@localhost>
date:      Wed Feb 28 11:29:14 2018 +0000

description:
add missing static

diffstat:

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

diffs (27 lines):

diff -r 9a61028137eb -r b045ff946a88 sys/netipsec/ipsec.c
--- a/sys/netipsec/ipsec.c      Wed Feb 28 11:23:24 2018 +0000
+++ b/sys/netipsec/ipsec.c      Wed Feb 28 11:29:14 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ipsec.c,v 1.148 2018/02/28 10:16:19 maxv Exp $ */
+/* $NetBSD: ipsec.c,v 1.149 2018/02/28 11:29:14 maxv Exp $ */
 /* $FreeBSD: src/sys/netipsec/ipsec.c,v 1.2.2.2 2003/07/01 01:38:13 sam Exp $ */
 /* $KAME: ipsec.c,v 1.103 2001/05/24 07:14:18 sakane Exp $ */
 
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ipsec.c,v 1.148 2018/02/28 10:16:19 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ipsec.c,v 1.149 2018/02/28 11:29:14 maxv Exp $");
 
 /*
  * IPsec controller part.
@@ -1483,7 +1483,7 @@
  * If the SP requires an IPsec packet, and the packet was neither AH nor ESP,
  * then kick it.
  */
-int
+static int
 ipsec_sp_reject(const struct secpolicy *sp, const struct mbuf *m)
 {
        struct ipsecrequest *isr;



Home | Main Index | Thread Index | Old Index