From d745c852becf3792a2185003947324721209195a Mon Sep 17 00:00:00 2001 From: Ed Schouten Date: Mon, 7 Nov 2011 06:44:47 +0000 Subject: Mark MALLOC_DEFINEs static that have no corresponding MALLOC_DECLAREs. This means that their use is restricted to a single C file. --- sys/netgraph/ng_sppp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/netgraph/ng_sppp.c') diff --git a/sys/netgraph/ng_sppp.c b/sys/netgraph/ng_sppp.c index ad9614658f76d..4ad89ec6fc9e4 100644 --- a/sys/netgraph/ng_sppp.c +++ b/sys/netgraph/ng_sppp.c @@ -44,7 +44,7 @@ __FBSDID("$FreeBSD$"); #include #ifdef NG_SEPARATE_MALLOC -MALLOC_DEFINE(M_NETGRAPH_SPPP, "netgraph_sppp", "netgraph sppp node "); +static MALLOC_DEFINE(M_NETGRAPH_SPPP, "netgraph_sppp", "netgraph sppp node"); #else #define M_NETGRAPH_SPPP M_NETGRAPH #endif -- cgit v1.2.3