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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=227255
@ -24,7 +24,7 @@ __FBSDID("$FreeBSD$");
|
|||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <sys/soundcard.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 void usage(int devmask, int recmask);
|
||||||
static int res_name(const char *name, int mask);
|
static int res_name(const char *name, int mask);
|
||||||
|
Loading…
Reference in New Issue
Block a user