diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2010-11-18 21:15:16 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2010-11-18 21:15:16 +0000 |
commit | d76fbed9b047b0950393d391f27749a20f6ec68a (patch) | |
tree | 02818a590fe865434e018b19d1bb8ca0c5b4c1f4 /sys/dev/midi.c | |
parent | be90184410fe8aaf59012f30ea8aabcf3e8e800b (diff) |
Don't
#include "foo.h"
#if NFOO > 0
(whole file)
#endif
since config(8) file inclusion rules already do it for you.
ok deraadt@
Diffstat (limited to 'sys/dev/midi.c')
-rw-r--r-- | sys/dev/midi.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/midi.c b/sys/dev/midi.c index a6032faa670..fb909465f5d 100644 --- a/sys/dev/midi.c +++ b/sys/dev/midi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: midi.c,v 1.22 2010/04/08 01:48:24 fgsch Exp $ */ +/* $OpenBSD: midi.c,v 1.23 2010/11/18 21:15:14 miod Exp $ */ /* * Copyright (c) 2003, 2004 Alexandre Ratchov @@ -24,9 +24,7 @@ * need this driver */ -#include "midi.h" #include "sequencer.h" -#if NMIDI > 0 #include <sys/param.h> #include <sys/fcntl.h> @@ -759,4 +757,3 @@ midi_writebytes(int unit, unsigned char *mesg, int mesglen) } #endif /* NSEQUENCER > 0 */ -#endif /* NMIDI > 0 */ |