diff options
author | dd <dd@FreeBSD.org> | 2001-06-25 21:06:15 +0000 |
---|---|---|
committer | dd <dd@FreeBSD.org> | 2001-06-25 21:06:15 +0000 |
commit | e214cd887348786ce572f7b8ed301e7bb2598306 (patch) | |
tree | 8b13e79aa59bb436d81367fb7c9873265e27aad6 /usr.sbin | |
parent | e15e739f2d67ba22897aae0ada5ebb09eb2a8140 (diff) | |
download | FreeBSD-src-e214cd887348786ce572f7b8ed301e7bb2598306.zip FreeBSD-src-e214cd887348786ce572f7b8ed301e7bb2598306.tar.gz |
Constify and set WARNS=2.
Submitted by: Mike Barcroft <mike@q9media.com
Reviewed by: md5(1)
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/mixer/Makefile | 3 | ||||
-rw-r--r-- | usr.sbin/mixer/mixer.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/mixer/Makefile b/usr.sbin/mixer/Makefile index 0beb1c7..e50fe00 100644 --- a/usr.sbin/mixer/Makefile +++ b/usr.sbin/mixer/Makefile @@ -1,6 +1,7 @@ # $FreeBSD$ -PROG = mixer +PROG= mixer +WARNS?= 2 MAN= mixer.8 .include <bsd.prog.mk> diff --git a/usr.sbin/mixer/mixer.c b/usr.sbin/mixer/mixer.c index 9264c76..68cb40e 100644 --- a/usr.sbin/mixer/mixer.c +++ b/usr.sbin/mixer/mixer.c @@ -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); |