aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/firewire/sbp.c
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/dev/firewire/sbp.c
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/dev/firewire/sbp.c')
-rw-r--r--sys/dev/firewire/sbp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/firewire/sbp.c b/sys/dev/firewire/sbp.c
index 2387bf944991..c36111ad8b60 100644
--- a/sys/dev/firewire/sbp.c
+++ b/sys/dev/firewire/sbp.c
@@ -276,7 +276,7 @@ static void sbp_mgm_timeout (void *arg);
static void sbp_timeout (void *arg);
static void sbp_mgm_orb (struct sbp_dev *, int, struct sbp_ocb *);
-MALLOC_DEFINE(M_SBP, "sbp", "SBP-II/FireWire");
+static MALLOC_DEFINE(M_SBP, "sbp", "SBP-II/FireWire");
/* cam related functions */
static void sbp_action(struct cam_sim *sim, union ccb *ccb);