summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_hhook.c
diff options
context:
space:
mode:
authorpluknet <pluknet@FreeBSD.org>2011-04-13 11:28:46 +0000
committerpluknet <pluknet@FreeBSD.org>2011-04-13 11:28:46 +0000
commite48732e3d4ec334052e23d71e2ac3549b3e2afe2 (patch)
treea367adfc1ca94fc730e590692668a9d5276d2928 /sys/kern/kern_hhook.c
parentdeb84340e76bf433a72d129c9a622021f6fa2821 (diff)
downloadFreeBSD-src-e48732e3d4ec334052e23d71e2ac3549b3e2afe2.zip
FreeBSD-src-e48732e3d4ec334052e23d71e2ac3549b3e2afe2.tar.gz
Staticize malloc types.
Approved by: lstewart MFC after: 1 week
Diffstat (limited to 'sys/kern/kern_hhook.c')
-rw-r--r--sys/kern/kern_hhook.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/kern/kern_hhook.c b/sys/kern/kern_hhook.c
index 4786755..1e34044 100644
--- a/sys/kern/kern_hhook.c
+++ b/sys/kern/kern_hhook.c
@@ -58,8 +58,7 @@ struct hhook {
STAILQ_ENTRY(hhook) hhk_next;
};
-MALLOC_DECLARE(M_HHOOK);
-MALLOC_DEFINE(M_HHOOK, "hhook", "Helper hooks are linked off hhook_head lists");
+static MALLOC_DEFINE(M_HHOOK, "hhook", "Helper hooks are linked off hhook_head lists");
LIST_HEAD(hhookheadhead, hhook_head);
VNET_DEFINE(struct hhookheadhead, hhook_head_list);
OpenPOWER on IntegriCloud