From 4d4fda805145c2953c70f724a20e4cc00e1da132 Mon Sep 17 00:00:00 2001 From: Ed Schouten Date: Sun, 6 Nov 2011 19:02:13 +0000 Subject: [PATCH] Mark global functions and/or variables in mixer(8) static where possible. This allows compilers and static analyzers to do more thorough analysis. --- usr.sbin/mixer/mixer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/mixer/mixer.c b/usr.sbin/mixer/mixer.c index 52997bc07d9d..245fb0686cc2 100644 --- a/usr.sbin/mixer/mixer.c +++ b/usr.sbin/mixer/mixer.c @@ -24,7 +24,7 @@ __FBSDID("$FreeBSD$"); #include #include -const char *names[SOUND_MIXER_NRDEVICES] = SOUND_DEVICE_NAMES; +static const char *names[SOUND_MIXER_NRDEVICES] = SOUND_DEVICE_NAMES; static void usage(int devmask, int recmask); static int res_name(const char *name, int mask);