From e97eae1577f10887cddd14c0c954b3ddcf507bd6 Mon Sep 17 00:00:00 2001 From: ed Date: Mon, 7 Nov 2011 06:44:47 +0000 Subject: Mark MALLOC_DEFINEs static that have no corresponding MALLOC_DECLAREs. This means that their use is restricted to a single C file. --- sys/powerpc/powermac/smusat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/powerpc/powermac/smusat.c') diff --git a/sys/powerpc/powermac/smusat.c b/sys/powerpc/powermac/smusat.c index fcaa9ed..974e98c 100644 --- a/sys/powerpc/powermac/smusat.c +++ b/sys/powerpc/powermac/smusat.c @@ -63,7 +63,7 @@ static int smusat_attach(device_t); static int smusat_sensor_sysctl(SYSCTL_HANDLER_ARGS); static int smusat_sensor_read(struct smu_sensor *sens); -MALLOC_DEFINE(M_SMUSAT, "smusat", "SMU Sattelite Sensors"); +static MALLOC_DEFINE(M_SMUSAT, "smusat", "SMU Sattelite Sensors"); static device_method_t smusat_methods[] = { /* Device interface */ -- cgit v1.1