Mark global functions and/or variables in mixer(8) static where possible.

This allows compilers and static analyzers to do more thorough analysis.
This commit is contained in:
Ed Schouten 2011-11-06 19:02:13 +00:00
parent 6ea612c7ab
commit 4d4fda8051

View File

@ -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);