diff options
author | ru <ru@FreeBSD.org> | 2006-05-29 17:37:41 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2006-05-29 17:37:41 +0000 |
commit | 1fcd5a71032b15b24040766cf10b02f04f8208bd (patch) | |
tree | f522043ea0dd88829fa034a7765cf5eeb9bb47e8 | |
parent | dadd2e56ae31961cc7e73bfa306a6cb4128a6c25 (diff) | |
download | FreeBSD-src-1fcd5a71032b15b24040766cf10b02f04f8208bd.zip FreeBSD-src-1fcd5a71032b15b24040766cf10b02f04f8208bd.tar.gz |
Fix build with -Wundef.
-rw-r--r-- | sys/dev/sound/midi/midi.c | 4 | ||||
-rw-r--r-- | sys/dev/sound/midi/sequencer.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/sound/midi/midi.c b/sys/dev/sound/midi/midi.c index fab4cff..4bb4646 100644 --- a/sys/dev/sound/midi/midi.c +++ b/sys/dev/sound/midi/midi.c @@ -431,7 +431,7 @@ exit: mtx_unlock(&midistat_lock); * psignal at most once. */ -#if notdef +#ifdef notdef static int midi_lengths[] = {2, 2, 2, 2, 1, 1, 2, 0}; #endif /* notdef */ /* Number of bytes in a MIDI command */ @@ -1014,7 +1014,7 @@ midistat_prepare(struct sbuf * s) return sbuf_len(s); } -#if notdef +#ifdef notdef /* * Convert IOCTL command to string for debugging */ diff --git a/sys/dev/sound/midi/sequencer.c b/sys/dev/sound/midi/sequencer.c index 130506a..87319f7 100644 --- a/sys/dev/sound/midi/sequencer.c +++ b/sys/dev/sound/midi/sequencer.c @@ -1050,7 +1050,7 @@ seq_write(struct cdev *i_dev, struct uio *uio, int ioflag) } if (scp->music) { -#if not_ever_ever +#ifdef not_ever_ever if (event[0] == EV_TIMING && (event[1] == TMR_START || event[1] == TMR_STOP) ) { /* @@ -1543,7 +1543,7 @@ case EV_SEQ_LOCAL: out[2] = chn; used += 4; break; -#if notyet +#ifdef notyet case SEQ_ECHO: /* * This isn't handled here yet because I don't know if I can |