aboutsummaryrefslogtreecommitdiff
path: root/sys/netgraph/ng_parse.c
diff options
context:
space:
mode:
authorEd Schouten <ed@FreeBSD.org>2011-11-07 06:44:47 +0000
committerEd Schouten <ed@FreeBSD.org>2011-11-07 06:44:47 +0000
commitd745c852becf3792a2185003947324721209195a (patch)
tree3278fb8afc568f22cc5eda0e74926191fc1857df /sys/netgraph/ng_parse.c
parentfd1ca22afbc91a5524d01df9d38afecf3178a149 (diff)
downloadsrc-d745c852becf3792a2185003947324721209195a.tar.gz
src-d745c852becf3792a2185003947324721209195a.zip
Mark MALLOC_DEFINEs static that have no corresponding MALLOC_DECLAREs.
This means that their use is restricted to a single C file.
Notes
Notes: svn path=/head/; revision=227293
Diffstat (limited to 'sys/netgraph/ng_parse.c')
-rw-r--r--sys/netgraph/ng_parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netgraph/ng_parse.c b/sys/netgraph/ng_parse.c
index fbbefc62d989..e8cbc9ab28ac 100644
--- a/sys/netgraph/ng_parse.c
+++ b/sys/netgraph/ng_parse.c
@@ -62,7 +62,7 @@
#include <netgraph/ng_parse.h>
#ifdef NG_SEPARATE_MALLOC
-MALLOC_DEFINE(M_NETGRAPH_PARSE, "netgraph_parse", "netgraph parse info");
+static MALLOC_DEFINE(M_NETGRAPH_PARSE, "netgraph_parse", "netgraph parse info");
#else
#define M_NETGRAPH_PARSE M_NETGRAPH
#endif