diff options
author | ed <ed@FreeBSD.org> | 2011-11-06 19:02:13 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2011-11-06 19:02:13 +0000 |
commit | 63fd44ffc00e62401ff37cc01e3fbe677786cf2a (patch) | |
tree | a7748c1488ff8d7f40d86fd6bed14bb6251262c8 /usr.sbin/mixer | |
parent | 5e4b02fe9780f4d6ea81376bcad46e2cf70b5eb3 (diff) | |
download | FreeBSD-src-63fd44ffc00e62401ff37cc01e3fbe677786cf2a.zip FreeBSD-src-63fd44ffc00e62401ff37cc01e3fbe677786cf2a.tar.gz |
Mark global functions and/or variables in mixer(8) static where possible.
This allows compilers and static analyzers to do more thorough analysis.
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 52997bc..245fb06 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); |