Module Name: src
Committed By: maxv
Date: Wed May 9 07:33:31 UTC 2018
Modified Files:
src/sys/netipsec: ipsecif.c
Log Message:
static const on ipsecif4_encapsw
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/netipsec/ipsecif.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/netipsec/ipsecif.c
diff -u src/sys/netipsec/ipsecif.c:1.8 src/sys/netipsec/ipsecif.c:1.9
--- src/sys/netipsec/ipsecif.c:1.8 Fri Apr 27 09:55:28 2018
+++ src/sys/netipsec/ipsecif.c Wed May 9 07:33:31 2018
@@ -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_pmtu = 0; /* XXX: p
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,