Constify and set WARNS=2.
Submitted by: Mike Barcroft <mike@q9media.com Reviewed by: md5(1)
This commit is contained in:
parent
4a824adfc0
commit
0cbc94d0e8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=78778
@ -1,6 +1,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PROG = mixer
|
||||
PROG= mixer
|
||||
WARNS?= 2
|
||||
MAN= mixer.8
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -24,7 +24,7 @@ static const char rcsid[] =
|
||||
#include <unistd.h>
|
||||
#include <sys/soundcard.h>
|
||||
|
||||
char *names[SOUND_MIXER_NRDEVICES] = SOUND_DEVICE_NAMES;
|
||||
const char *names[SOUND_MIXER_NRDEVICES] = SOUND_DEVICE_NAMES;
|
||||
|
||||
void usage(int devmask, int recmask);
|
||||
int res_name(const char *name, int mask);
|
||||
|
Loading…
Reference in New Issue
Block a user