Source-Changes-HG archive

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

[src/trunk]: src/sys/netipsec static const on ipsecif4_encapsw



details:   https://anonhg.NetBSD.org/src/rev/a196203eacac
branches:  trunk
changeset: 318904:a196203eacac
user:      maxv <maxv%NetBSD.org@localhost>
date:      Wed May 09 07:33:31 2018 +0000
description:
static const on ipsecif4_encapsw

diffstat:

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

diffs (27 lines):

diff -r e3fc542a9d73 -r a196203eacac sys/netipsec/ipsecif.c
--- a/sys/netipsec/ipsecif.c    Wed May 09 07:30:21 2018 +0000
+++ b/sys/netipsec/ipsecif.c    Wed May 09 07:33:31 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ipsecif.c,v 1.8 2018/04/27 09:55:28 knakahara Exp $  */
+/*     $NetBSD: ipsecif.c,v 1.9 2018/05/09 07:33:31 maxv Exp $  */
 
 /*
  * Copyright (c) 2017 Internet Initiative Japan Inc.
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ipsecif.c,v 1.8 2018/04/27 09:55:28 knakahara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ipsecif.c,v 1.9 2018/05/09 07:33:31 maxv Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_inet.h"
@@ -91,7 +91,7 @@
 static int ip6_ipsec_copy_tos = 0;
 #endif
 
-struct encapsw ipsecif4_encapsw = {
+static const struct encapsw ipsecif4_encapsw = {
        .encapsw4 = {
                .pr_input = ipsecif4_input,
                .pr_ctlinput = NULL,



Home | Main Index | Thread Index | Old Index