diff options
author | ru <ru@FreeBSD.org> | 2005-12-05 11:58:35 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2005-12-05 11:58:35 +0000 |
commit | 9b19d72862ec030327b619472a0fdd12ace7a4c0 (patch) | |
tree | 10fbb6249e1553ff873a2885f2937b146e545698 /sys/i386/isa | |
parent | 6bc69ac5efced12523ecf09740467f0e992166c5 (diff) | |
download | FreeBSD-src-9b19d72862ec030327b619472a0fdd12ace7a4c0.zip FreeBSD-src-9b19d72862ec030327b619472a0fdd12ace7a4c0.tar.gz |
Fix -Wundef warnings found when compiling i386 LINT, GENERIC and
custom kernels.
Diffstat (limited to 'sys/i386/isa')
-rw-r--r-- | sys/i386/isa/pcvt/pcvt_hdr.h | 3 | ||||
-rw-r--r-- | sys/i386/isa/vesa.c | 4 |
2 files changed, 2 insertions, 5 deletions
diff --git a/sys/i386/isa/pcvt/pcvt_hdr.h b/sys/i386/isa/pcvt/pcvt_hdr.h index 481c037..74f8ec8 100644 --- a/sys/i386/isa/pcvt/pcvt_hdr.h +++ b/sys/i386/isa/pcvt/pcvt_hdr.h @@ -109,12 +109,9 @@ #if !(PCVT_SLOW_INTERRUPT) # define PCVT_DISABLE_INTR() disable_intr() # define PCVT_ENABLE_INTR() enable_intr() -# undef PCVT_SLOW_INTERRUPT #else # define PCVT_DISABLE_INTR() s = spltty() # define PCVT_ENABLE_INTR() splx(s) -# undef PCVT_SLOW_INTERRUPT -# define PCVT_SLOW_INTERRUPT 1 #endif #ifdef XSERVER diff --git a/sys/i386/isa/vesa.c b/sys/i386/isa/vesa.c index 5fadfbe..2fe79bf 100644 --- a/sys/i386/isa/vesa.c +++ b/sys/i386/isa/vesa.c @@ -1173,7 +1173,7 @@ vesa_save_palette(video_adapter_t *adp, u_char *palette) static int vesa_load_palette(video_adapter_t *adp, u_char *palette) { -#if notyet +#ifdef notyet int bits; int error; @@ -1393,7 +1393,7 @@ set_palette(video_adapter_t *adp, int base, int count, u_char *red, u_char *green, u_char *blue, u_char *trans) { return 1; -#if notyet +#ifdef notyet u_char *r; u_char *g; u_char *b; |