summaryrefslogtreecommitdiffstats
path: root/sys/dev/syscons/syscons.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/syscons/syscons.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/syscons/syscons.c')
-rw-r--r--sys/dev/syscons/syscons.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/dev/syscons/syscons.c b/sys/dev/syscons/syscons.c
index a4303c1..b648cfb 100644
--- a/sys/dev/syscons/syscons.c
+++ b/sys/dev/syscons/syscons.c
@@ -28,7 +28,6 @@
* $FreeBSD$
*/
-#include "sc.h"
#include "splash.h"
#include "opt_syscons.h"
#include "opt_ddb.h"
@@ -36,7 +35,6 @@
#include "apm.h"
#endif
-#if NSC > 0
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/eventhandler.h>
@@ -3406,5 +3404,3 @@ blink_screen(void *arg)
timeout(blink_screen, scp, hz / 10);
}
}
-
-#endif /* NSC */
OpenPOWER on IntegriCloud