summaryrefslogtreecommitdiffstats
path: root/usr.sbin/mixer/mixer.c
diff options
context:
space:
mode:
authordd <dd@FreeBSD.org>2001-06-25 21:06:15 +0000
committerdd <dd@FreeBSD.org>2001-06-25 21:06:15 +0000
commite214cd887348786ce572f7b8ed301e7bb2598306 (patch)
tree8b13e79aa59bb436d81367fb7c9873265e27aad6 /usr.sbin/mixer/mixer.c
parente15e739f2d67ba22897aae0ada5ebb09eb2a8140 (diff)
downloadFreeBSD-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/mixer/mixer.c')
-rw-r--r--usr.sbin/mixer/mixer.c2
1 files changed, 1 insertions, 1 deletions
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);
OpenPOWER on IntegriCloud