summaryrefslogtreecommitdiffstats
path: root/sys/pc98
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2005-12-05 11:58:35 +0000
committerru <ru@FreeBSD.org>2005-12-05 11:58:35 +0000
commit9b19d72862ec030327b619472a0fdd12ace7a4c0 (patch)
tree10fbb6249e1553ff873a2885f2937b146e545698 /sys/pc98
parent6bc69ac5efced12523ecf09740467f0e992166c5 (diff)
downloadFreeBSD-src-9b19d72862ec030327b619472a0fdd12ace7a4c0.zip
FreeBSD-src-9b19d72862ec030327b619472a0fdd12ace7a4c0.tar.gz
Fix -Wundef warnings found when compiling i386 LINT, GENERIC and
custom kernels.
Diffstat (limited to 'sys/pc98')
-rw-r--r--sys/pc98/cbus/scterm-sck.c4
-rw-r--r--sys/pc98/include/bus.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/pc98/cbus/scterm-sck.c b/sys/pc98/cbus/scterm-sck.c
index 7029c07..9b45490 100644
--- a/sys/pc98/cbus/scterm-sck.c
+++ b/sys/pc98/cbus/scterm-sck.c
@@ -463,7 +463,7 @@ scterm_scan_esc(scr_stat *scp, term_stat *tcp, u_char c)
sc_term_up_scroll(scp, 1, sc->scr_map[0x20],
tcp->cur_attr, 0, 0);
break;
-#if notyet
+#ifdef notyet
case 'Q':
tcp->esc = 4;
return;
@@ -892,7 +892,7 @@ scterm_scan_esc(scr_stat *scp, term_stat *tcp, u_char c)
splx(i);
break;
}
-#if notyet
+#ifdef notyet
} else if (tcp->esc == 4) { /* seen ESC Q */
/* to be filled */
#endif
diff --git a/sys/pc98/include/bus.h b/sys/pc98/include/bus.h
index 64a8194..bb10690 100644
--- a/sys/pc98/include/bus.h
+++ b/sys/pc98/include/bus.h
@@ -565,7 +565,7 @@ bus_space_barrier(bus_space_tag_t tag, bus_space_handle_t bsh,
__asm __volatile("" : : : "memory");
}
-#if BUS_SPACE_NO_LEGACY
+#ifdef BUS_SPACE_NO_LEGACY
#undef inb
#undef outb
#define inb(a) compiler_error
OpenPOWER on IntegriCloud