diff options
| author | Peter Wemm <peter@FreeBSD.org> | 2000-01-29 15:08:56 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 2000-01-29 15:08:56 +0000 |
| commit | 8f8e58794866a5a4439a329fdfbf1203064f4952 (patch) | |
| tree | e59ca9ab18f6f276a3062a62e9c8ce190735bac5 /sys/dev/syscons | |
| parent | 08922a1c232ada56eeca83fd8b8c83b26647b1fe (diff) | |
Notes
Diffstat (limited to 'sys/dev/syscons')
| -rw-r--r-- | sys/dev/syscons/scgfbrndr.c | 6 | ||||
| -rw-r--r-- | sys/dev/syscons/schistory.c | 4 | ||||
| -rw-r--r-- | sys/dev/syscons/scmouse.c | 5 | ||||
| -rw-r--r-- | sys/dev/syscons/scterm-dumb.c | 5 | ||||
| -rw-r--r-- | sys/dev/syscons/scterm-sc.c | 5 | ||||
| -rw-r--r-- | sys/dev/syscons/scterm.c | 5 | ||||
| -rw-r--r-- | sys/dev/syscons/scvesactl.c | 12 | ||||
| -rw-r--r-- | sys/dev/syscons/scvgarndr.c | 6 | ||||
| -rw-r--r-- | sys/dev/syscons/scvidctl.c | 5 | ||||
| -rw-r--r-- | sys/dev/syscons/scvtb.c | 5 | ||||
| -rw-r--r-- | sys/dev/syscons/syscons.c | 4 | ||||
| -rw-r--r-- | sys/dev/syscons/sysmouse.c | 5 |
12 files changed, 2 insertions, 65 deletions
diff --git a/sys/dev/syscons/scgfbrndr.c b/sys/dev/syscons/scgfbrndr.c index afdd073627a8e..402a0946c54dd 100644 --- a/sys/dev/syscons/scgfbrndr.c +++ b/sys/dev/syscons/scgfbrndr.c @@ -26,13 +26,9 @@ * $FreeBSD$ */ -#include "sc.h" -#include "vga.h" #include "opt_syscons.h" #include "opt_vga.h" -#if NSC > 0 && NVGA > 0 - #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> @@ -826,5 +822,3 @@ vga_grborder(scr_stat *scp, int color) } #endif - -#endif /* NSC > 0 && NVGA > 0 */ diff --git a/sys/dev/syscons/schistory.c b/sys/dev/syscons/schistory.c index 49fc6eae8c099..c4053498acf0e 100644 --- a/sys/dev/syscons/schistory.c +++ b/sys/dev/syscons/schistory.c @@ -32,8 +32,6 @@ #include "sc.h" #include "opt_syscons.h" -#if NSC > 0 - #ifndef SC_NO_HISTORY #include <sys/param.h> @@ -307,5 +305,3 @@ sc_hist_ioctl(struct tty *tp, u_long cmd, caddr_t data, int flag, } #endif /* SC_NO_HISTORY */ - -#endif /* NSC */ diff --git a/sys/dev/syscons/scmouse.c b/sys/dev/syscons/scmouse.c index f75df0de2601d..509eb359302a8 100644 --- a/sys/dev/syscons/scmouse.c +++ b/sys/dev/syscons/scmouse.c @@ -26,11 +26,8 @@ * $FreeBSD$ */ -#include "sc.h" #include "opt_syscons.h" -#if NSC > 0 - #include <limits.h> #include <sys/param.h> #include <sys/systm.h> @@ -902,5 +899,3 @@ sc_mouse_ioctl(struct tty *tp, u_long cmd, caddr_t data, int flag, } #endif /* SC_NO_SYSMOUSE */ - -#endif /* NSC */ diff --git a/sys/dev/syscons/scterm-dumb.c b/sys/dev/syscons/scterm-dumb.c index 19e421d594a10..e7587184734b1 100644 --- a/sys/dev/syscons/scterm-dumb.c +++ b/sys/dev/syscons/scterm-dumb.c @@ -26,11 +26,8 @@ * $FreeBSD$ */ -#include "sc.h" #include "opt_syscons.h" -#if NSC > 0 - #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> @@ -152,5 +149,3 @@ dumb_nop(void) } #endif /* SC_DUMB_TERMINAL */ - -#endif /* NSC > 1 */ diff --git a/sys/dev/syscons/scterm-sc.c b/sys/dev/syscons/scterm-sc.c index 317f7da5bcec1..f11cd27b8c28c 100644 --- a/sys/dev/syscons/scterm-sc.c +++ b/sys/dev/syscons/scterm-sc.c @@ -27,11 +27,8 @@ * $FreeBSD$ */ -#include "sc.h" #include "opt_syscons.h" -#if NSC > 0 - #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> @@ -725,5 +722,3 @@ mask2attr(term_stat *tcp) } #endif /* SC_DUMB_TERMINAL */ - -#endif /* NSC > 0 */ diff --git a/sys/dev/syscons/scterm.c b/sys/dev/syscons/scterm.c index c6359930dad89..99fad98571185 100644 --- a/sys/dev/syscons/scterm.c +++ b/sys/dev/syscons/scterm.c @@ -26,11 +26,8 @@ * $FreeBSD$ */ -#include "sc.h" #include "opt_syscons.h" -#if NSC > 0 - #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> @@ -124,5 +121,3 @@ sc_term_sw_t return NULL; } - -#endif /* NSC > 0 */ diff --git a/sys/dev/syscons/scvesactl.c b/sys/dev/syscons/scvesactl.c index 9749cc252b2f3..8c498f995f07b 100644 --- a/sys/dev/syscons/scvesactl.c +++ b/sys/dev/syscons/scvesactl.c @@ -26,17 +26,9 @@ * $FreeBSD$ */ -#include "sc.h" -#include "vga.h" -#include "opt_syscons.h" #include "opt_vga.h" -#include "opt_vesa.h" -#ifdef VGA_NO_MODE_CHANGE -#undef VESA -#endif - -#if (NSC > 0 && NVGA > 0 && defined(VESA)) || defined(KLD_MODULE) +#ifndef VGA_NO_MODE_CHANGE #include <sys/param.h> #include <sys/systm.h> @@ -138,4 +130,4 @@ vesa_unload_ioctl(void) return 0; } -#endif /* (NSC > 0 && NVGA > 0 && VESA) || KLD_MODULE */ +#endif /* SC_NO_MODE_CHANGE */ diff --git a/sys/dev/syscons/scvgarndr.c b/sys/dev/syscons/scvgarndr.c index afdd073627a8e..402a0946c54dd 100644 --- a/sys/dev/syscons/scvgarndr.c +++ b/sys/dev/syscons/scvgarndr.c @@ -26,13 +26,9 @@ * $FreeBSD$ */ -#include "sc.h" -#include "vga.h" #include "opt_syscons.h" #include "opt_vga.h" -#if NSC > 0 && NVGA > 0 - #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> @@ -826,5 +822,3 @@ vga_grborder(scr_stat *scp, int color) } #endif - -#endif /* NSC > 0 && NVGA > 0 */ diff --git a/sys/dev/syscons/scvidctl.c b/sys/dev/syscons/scvidctl.c index 686a3c4f8f830..c9260a73835f3 100644 --- a/sys/dev/syscons/scvidctl.c +++ b/sys/dev/syscons/scvidctl.c @@ -26,11 +26,8 @@ * $FreeBSD$ */ -#include "sc.h" #include "opt_syscons.h" -#if NSC > 0 - #include <sys/param.h> #include <sys/systm.h> #include <sys/conf.h> @@ -814,5 +811,3 @@ sc_rndr_sw_t return NULL; } - -#endif /* NSC > 0 */ diff --git a/sys/dev/syscons/scvtb.c b/sys/dev/syscons/scvtb.c index aac9024814b55..dc5155b113c83 100644 --- a/sys/dev/syscons/scvtb.c +++ b/sys/dev/syscons/scvtb.c @@ -26,11 +26,8 @@ * $FreeBSD$ */ -#include "sc.h" #include "opt_syscons.h" -#if NSC > 0 - #include <sys/param.h> #include <sys/systm.h> #include <sys/malloc.h> @@ -296,5 +293,3 @@ sc_vtb_ins(sc_vtb_t *vtb, int at, int count, int c, int attr) else fillw(attr | c, (void *)sc_vtb_pointer(vtb, at), count); } - -#endif /* NSC */ diff --git a/sys/dev/syscons/syscons.c b/sys/dev/syscons/syscons.c index a4303c107c52f..b648cfbc1e87e 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 */ diff --git a/sys/dev/syscons/sysmouse.c b/sys/dev/syscons/sysmouse.c index 8c28ab725119c..453215a0af36e 100644 --- a/sys/dev/syscons/sysmouse.c +++ b/sys/dev/syscons/sysmouse.c @@ -26,11 +26,8 @@ * $FreeBSD$ */ -#include "sc.h" #include "opt_syscons.h" -#if NSC > 0 - #include <sys/param.h> #include <sys/systm.h> #include <sys/conf.h> @@ -340,5 +337,3 @@ sysmouse_event(mouse_info_t *info) } #endif /* !SC_NO_SYSMOUSE */ - -#endif /* NSC */ |
