diff options
author | Ed Schouten <ed@FreeBSD.org> | 2011-11-07 06:44:47 +0000 |
---|---|---|
committer | Ed Schouten <ed@FreeBSD.org> | 2011-11-07 06:44:47 +0000 |
commit | d745c852becf3792a2185003947324721209195a (patch) | |
tree | 3278fb8afc568f22cc5eda0e74926191fc1857df /sys/netgraph/ng_parse.c | |
parent | fd1ca22afbc91a5524d01df9d38afecf3178a149 (diff) | |
download | src-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.c | 2 |
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 |