aboutsummaryrefslogtreecommitdiff
path: root/sys/netipsec
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2018-06-29 14:51:36 +0000
committerEd Maste <emaste@FreeBSD.org>2018-06-29 14:51:36 +0000
commit5b2b45a421e8c680b6381735ad7cf16263ebca43 (patch)
tree625713b23660ceb5b95c25100a6015099290e5a7 /sys/netipsec
parent52b3619f45857e436a6caafa1b7fd1067afe8adf (diff)
downloadsrc-5b2b45a421e8c680b6381735ad7cf16263ebca43.tar.gz
src-5b2b45a421e8c680b6381735ad7cf16263ebca43.zip
r335795 build fix: make static functions static
-Werror,-Wmissing-prototypes makes this an error otherwise. MFC with: 335795 Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/head/; revision=335796
Diffstat (limited to 'sys/netipsec')
-rw-r--r--sys/netipsec/key_debug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netipsec/key_debug.c b/sys/netipsec/key_debug.c
index d6fa0eebd3d6..3041d6368755 100644
--- a/sys/netipsec/key_debug.c
+++ b/sys/netipsec/key_debug.c
@@ -85,7 +85,7 @@ static void kdebug_sadb_x_natt(struct sadb_ext *);
/* NOTE: host byte order */
-const char*
+static const char*
kdebug_sadb_type(uint8_t type)
{
#define SADB_NAME(n) case SADB_ ## n: return (#n)
@@ -120,7 +120,7 @@ kdebug_sadb_type(uint8_t type)
#undef SADB_NAME
}
-const char*
+static const char*
kdebug_sadb_exttype(uint16_t type)
{
#define EXT_NAME(n) case SADB_EXT_ ## n: return (#n)