diff options
author | rich <rich@FreeBSD.org> | 1995-02-15 04:17:59 +0000 |
---|---|---|
committer | rich <rich@FreeBSD.org> | 1995-02-15 04:17:59 +0000 |
commit | d1fc7583ad8be09614a9128bf96efddbb726da53 (patch) | |
tree | c88c1e9a0afead791609ddbb8b4abb0c73f4700d /sys | |
parent | 865c4a7d98074a841b07e3ca2ef0274598402b57 (diff) | |
download | FreeBSD-src-d1fc7583ad8be09614a9128bf96efddbb726da53.zip FreeBSD-src-d1fc7583ad8be09614a9128bf96efddbb726da53.tar.gz |
Reviewed by: Jordan
Submitted by: Rich
Make conditionals on BIOSWAIT consistent with usage in io.c.
If you had 'BOOTWAIT=0' in your /etc/make.conf then biosboot wouldn't
compile. It was '#if' in io.c and '#ifdef' in probe_keyboard.c so I
changed the latter to '#if'.
Even if BOOTWAIT is undefined then '#if BOOTWAIT' becomes
'#if 0' so it should compile either way with this change.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/i386/boot/biosboot/probe_keyboard.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/boot/biosboot/probe_keyboard.c b/sys/i386/boot/biosboot/probe_keyboard.c index 694db14..d733435 100644 --- a/sys/i386/boot/biosboot/probe_keyboard.c +++ b/sys/i386/boot/biosboot/probe_keyboard.c @@ -42,13 +42,13 @@ * * This grody hack brought to you by Bill Paul (wpaul@ctr.columbia.edu) * - * $Id$ + * $Id: probe_keyboard.c,v 1.1 1995/01/20 07:48:25 wpaul Exp $ */ #include <machine/console.h> #include <machine/cpufunc.h> -#ifdef BOOTWAIT +#if BOOTWAIT extern int delay1ms(void); #else int delay1ms() |