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:
parent
6ea612c7ab
commit
4d4fda8051
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user