summaryrefslogtreecommitdiffstats
path: root/sys/dev/sequencer.c
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2010-11-18 21:15:13 +0000
committermiod <miod@openbsd.org>2010-11-18 21:15:13 +0000
commitbc78e6577d23f89fbc930e978910cfbad5de0bb8 (patch)
treed1b8af216a7a90d4ba9f627c331264bdc7fac04d /sys/dev/sequencer.c
parentDo not #include <sys/dkstat.h> if you don't need anything from it. (diff)
downloadwireguard-openbsd-bc78e6577d23f89fbc930e978910cfbad5de0bb8.tar.xz
wireguard-openbsd-bc78e6577d23f89fbc930e978910cfbad5de0bb8.zip
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/sequencer.c')
-rw-r--r--sys/dev/sequencer.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/dev/sequencer.c b/sys/dev/sequencer.c
index 98bfe88c565..d1756d4c991 100644
--- a/sys/dev/sequencer.c
+++ b/sys/dev/sequencer.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sequencer.c,v 1.19 2009/11/09 17:53:39 nicm Exp $ */
+/* $OpenBSD: sequencer.c,v 1.20 2010/11/18 21:15:14 miod Exp $ */
/* $NetBSD: sequencer.c,v 1.13 1998/11/25 22:17:07 augustss Exp $ */
/*
@@ -30,9 +30,6 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
-#include "sequencer.h"
-#if NSEQUENCER > 0
-
#include <sys/param.h>
#include <sys/ioctl.h>
#include <sys/fcntl.h>
@@ -1283,6 +1280,3 @@ midi_writebytes(int unit, u_char *buf, int cc)
return (ENXIO);
}
#endif /* NMIDI == 0 */
-
-#endif /* NSEQUENCER > 0 */
-