diff options
author | Ed Schouten <ed@FreeBSD.org> | 2011-11-06 19:02:13 +0000 |
---|---|---|
committer | Ed Schouten <ed@FreeBSD.org> | 2011-11-06 19:02:13 +0000 |
commit | 4d4fda805145c2953c70f724a20e4cc00e1da132 (patch) | |
tree | a7748c1488ff8d7f40d86fd6bed14bb6251262c8 /usr.sbin/mixer | |
parent | 6ea612c7abfa0ab9a3c2a15f196ca6ead9698ae2 (diff) | |
download | src-4d4fda805145c2953c70f724a20e4cc00e1da132.tar.gz src-4d4fda805145c2953c70f724a20e4cc00e1da132.zip |
Mark global functions and/or variables in mixer(8) static where possible.
This allows compilers and static analyzers to do more thorough analysis.
Notes
Notes:
svn path=/head/; revision=227255
Diffstat (limited to 'usr.sbin/mixer')
-rw-r--r-- | usr.sbin/mixer/mixer.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 <unistd.h> #include <sys/soundcard.h> -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); |