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/dev/dcons/dcons_os.c | |
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/dev/dcons/dcons_os.c')
-rw-r--r-- | sys/dev/dcons/dcons_os.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/dcons/dcons_os.c b/sys/dev/dcons/dcons_os.c index 7a51e1c..40273a3 100644 --- a/sys/dev/dcons/dcons_os.c +++ b/sys/dev/dcons/dcons_os.c @@ -192,7 +192,7 @@ GDB_DBGPORT(dcons, dcons_dbg_probe, dcons_dbg_init, dcons_dbg_term, extern struct gdb_dbgport *gdb_cur; #endif -#if (KDB || DDB) && ALT_BREAK_TO_DEBUGGER +#if (defined(KDB) || defined(DDB)) && defined(ALT_BREAK_TO_DEBUGGER) static int dcons_check_break(struct dcons_softc *dc, int c) { @@ -549,7 +549,7 @@ ok: dcons_buf = dg.buf; #if __FreeBSD_version < 502122 -#if DDB && DCONS_FORCE_GDB +#if defined(DDB) && DCONS_FORCE_GDB #if CONS_NODEV gdbconsdev.cn_arg = (void *)&sc[DCONS_GDB]; #if __FreeBSD_version >= 501109 @@ -678,7 +678,7 @@ dcons_modevent(module_t mode, int type, void *data) printf("dcons: unload\n"); callout_stop(&dcons_callout); #if __FreeBSD_version < 502122 -#if DDB && DCONS_FORCE_GDB +#if defined(DDB) && DCONS_FORCE_GDB #if CONS_NODEV gdb_arg = NULL; #else |