aboutsummaryrefslogtreecommitdiff
path: root/sys/gnu/fs/xfs/FreeBSD
diff options
context:
space:
mode:
authorEd Schouten <ed@FreeBSD.org>2011-11-07 06:44:47 +0000
committerEd Schouten <ed@FreeBSD.org>2011-11-07 06:44:47 +0000
commitd745c852becf3792a2185003947324721209195a (patch)
tree3278fb8afc568f22cc5eda0e74926191fc1857df /sys/gnu/fs/xfs/FreeBSD
parentfd1ca22afbc91a5524d01df9d38afecf3178a149 (diff)
downloadsrc-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/gnu/fs/xfs/FreeBSD')
-rw-r--r--sys/gnu/fs/xfs/FreeBSD/xfs_mountops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/gnu/fs/xfs/FreeBSD/xfs_mountops.c b/sys/gnu/fs/xfs/FreeBSD/xfs_mountops.c
index e9ccfc902761..413a524971fc 100644
--- a/sys/gnu/fs/xfs/FreeBSD/xfs_mountops.c
+++ b/sys/gnu/fs/xfs/FreeBSD/xfs_mountops.c
@@ -71,7 +71,7 @@
#include <xfs_mountops.h>
-MALLOC_DEFINE(M_XFSNODE, "XFS node", "XFS vnode private part");
+static MALLOC_DEFINE(M_XFSNODE, "XFS node", "XFS vnode private part");
static vfs_mount_t _xfs_mount;
static vfs_unmount_t _xfs_unmount;