summaryrefslogtreecommitdiffstats
path: root/sys/dev/atkbdc/atkbd.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2000-01-29 15:08:56 +0000
committerpeter <peter@FreeBSD.org>2000-01-29 15:08:56 +0000
commitd7e5eb3faac173e7d9640e098621746b86213739 (patch)
tree9a2474b2f7c68ec2b1e97af2ab3b083c722e9ad7 /sys/dev/atkbdc/atkbd.c
parente06faf1d941fbd0cfd397f781f3986049ecce128 (diff)
downloadFreeBSD-src-d7e5eb3faac173e7d9640e098621746b86213739.zip
FreeBSD-src-d7e5eb3faac173e7d9640e098621746b86213739.tar.gz
Use config's conditional compilation rather than using #ifdefs that make
modular compilation harder. I'm doing this because people seem to like cut/pasting examples of bad practices in existing code.
Diffstat (limited to 'sys/dev/atkbdc/atkbd.c')
-rw-r--r--sys/dev/atkbdc/atkbd.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/dev/atkbdc/atkbd.c b/sys/dev/atkbdc/atkbd.c
index f8ed134..5a72ecb 100644
--- a/sys/dev/atkbdc/atkbd.c
+++ b/sys/dev/atkbdc/atkbd.c
@@ -26,12 +26,9 @@
* $FreeBSD$
*/
-#include "atkbd.h"
#include "opt_kbd.h"
#include "opt_atkbd.h"
-#if NATKBD > 0
-
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
@@ -1393,5 +1390,3 @@ typematic(int delay, int rate)
value |= i;
return value;
}
-
-#endif /* NATKBD > 0 */
OpenPOWER on IntegriCloud