Constify and set WARNS=2.

Submitted by:	Mike Barcroft <mike@q9media.com
Reviewed by:	md5(1)
This commit is contained in:
Dima Dorfman 2001-06-25 21:06:15 +00:00
parent 4a824adfc0
commit 0cbc94d0e8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=78778
2 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,7 @@
# $FreeBSD$
PROG = mixer
PROG= mixer
WARNS?= 2
MAN= mixer.8
.include <bsd.prog.mk>

View File

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