diff options
author | Ed Schouten <ed@FreeBSD.org> | 2011-11-07 06:44:47 +0000 |
---|---|---|
committer | Ed Schouten <ed@FreeBSD.org> | 2011-11-07 06:44:47 +0000 |
commit | d745c852becf3792a2185003947324721209195a (patch) | |
tree | 3278fb8afc568f22cc5eda0e74926191fc1857df /sys/arm/xscale/pxa/pxa_smi.c | |
parent | fd1ca22afbc91a5524d01df9d38afecf3178a149 (diff) | |
download | src-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/arm/xscale/pxa/pxa_smi.c')
-rw-r--r-- | sys/arm/xscale/pxa/pxa_smi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arm/xscale/pxa/pxa_smi.c b/sys/arm/xscale/pxa/pxa_smi.c index b2b904c01253..f25dac771234 100644 --- a/sys/arm/xscale/pxa/pxa_smi.c +++ b/sys/arm/xscale/pxa/pxa_smi.c @@ -42,7 +42,8 @@ __FBSDID("$FreeBSD$"); #include <arm/xscale/pxa/pxavar.h> #include <arm/xscale/pxa/pxareg.h> -MALLOC_DEFINE(M_PXASMI, "PXA SMI", "Data for static memory interface devices."); +static MALLOC_DEFINE(M_PXASMI, "PXA SMI", + "Data for static memory interface devices."); struct pxa_smi_softc { struct resource *ps_res[1]; |