From e97eae1577f10887cddd14c0c954b3ddcf507bd6 Mon Sep 17 00:00:00 2001 From: ed 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/net/if_spppsubr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/net/if_spppsubr.c') diff --git a/sys/net/if_spppsubr.c b/sys/net/if_spppsubr.c index 363d9aa..7c9c230 100644 --- a/sys/net/if_spppsubr.c +++ b/sys/net/if_spppsubr.c @@ -174,7 +174,7 @@ #define STATE_ACK_SENT 8 #define STATE_OPENED 9 -MALLOC_DEFINE(M_SPPP, "sppp", "synchronous PPP interface internals"); +static MALLOC_DEFINE(M_SPPP, "sppp", "synchronous PPP interface internals"); struct ppp_header { u_char address; -- cgit v1.1