Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Jun 2018 14:51:36 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r335796 - head/sys/netipsec
Message-ID:  <201806291451.w5TEpaOJ023660@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Fri Jun 29 14:51:36 2018
New Revision: 335796
URL: https://svnweb.freebsd.org/changeset/base/335796

Log:
  r335795 build fix: make static functions static
  
  -Werror,-Wmissing-prototypes makes this an error otherwise.
  
  MFC with:	335795
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/sys/netipsec/key_debug.c

Modified: head/sys/netipsec/key_debug.c
==============================================================================
--- head/sys/netipsec/key_debug.c	Fri Jun 29 13:59:33 2018	(r335795)
+++ head/sys/netipsec/key_debug.c	Fri Jun 29 14:51:36 2018	(r335796)
@@ -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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806291451.w5TEpaOJ023660>