summaryrefslogtreecommitdiffstats
path: root/sys/compat
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2011-11-07 06:44:47 +0000
committered <ed@FreeBSD.org>2011-11-07 06:44:47 +0000
commite97eae1577f10887cddd14c0c954b3ddcf507bd6 (patch)
tree3278fb8afc568f22cc5eda0e74926191fc1857df /sys/compat
parentdcf961c021321caf2c6fda15125c85b82ec9ff04 (diff)
downloadFreeBSD-src-e97eae1577f10887cddd14c0c954b3ddcf507bd6.zip
FreeBSD-src-e97eae1577f10887cddd14c0c954b3ddcf507bd6.tar.gz
Mark MALLOC_DEFINEs static that have no corresponding MALLOC_DECLAREs.
This means that their use is restricted to a single C file.
Diffstat (limited to 'sys/compat')
-rw-r--r--sys/compat/linux/linux_futex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/compat/linux/linux_futex.c b/sys/compat/linux/linux_futex.c
index 736bd28..44d68f4 100644
--- a/sys/compat/linux/linux_futex.c
+++ b/sys/compat/linux/linux_futex.c
@@ -65,8 +65,8 @@ __KERNEL_RCSID(1, "$NetBSD: linux_futex.c,v 1.7 2006/07/24 19:01:49 manu Exp $")
#include <compat/linux/linux_futex.h>
#include <compat/linux/linux_util.h>
-MALLOC_DEFINE(M_FUTEX, "futex", "Linux futexes");
-MALLOC_DEFINE(M_FUTEX_WP, "futex wp", "Linux futexes wp");
+static MALLOC_DEFINE(M_FUTEX, "futex", "Linux futexes");
+static MALLOC_DEFINE(M_FUTEX_WP, "futex wp", "Linux futexes wp");
struct futex;
OpenPOWER on IntegriCloud