diff options
Diffstat (limited to 'i386/i386at')
-rw-r--r-- | i386/i386at/kd.c | 3 | ||||
-rw-r--r-- | i386/i386at/model_dep.c | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/i386/i386at/kd.c b/i386/i386at/kd.c index 24d999a..b8e9487 100644 --- a/i386/i386at/kd.c +++ b/i386/i386at/kd.c @@ -105,7 +105,7 @@ WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. #endif struct tty kd_tty; -extern int rebootflag; +extern boolean_t rebootflag; static void charput(), charmvup(), charmvdown(), charclear(), charsetcursor(); static void kd_noopreset(); @@ -984,7 +984,6 @@ Scancode scancode; { static int magic_state = KS_NORMAL; /* like kd_state */ boolean_t up = FALSE; - extern int rebootflag; if (scancode == 0x46) /* scroll lock */ /* if (scancode == 0x52) ** insert key */ diff --git a/i386/i386at/model_dep.c b/i386/i386at/model_dep.c index f0d49f4..30ef204 100644 --- a/i386/i386at/model_dep.c +++ b/i386/i386at/model_dep.c @@ -127,7 +127,7 @@ static vm_size_t avail_remaining; extern char version[]; -int rebootflag = 0; /* exported to kdintr */ +boolean_t rebootflag = FALSE; /* exported to kdintr */ /* XX interrupt stack pointer and highwater mark, for locore.S. */ vm_offset_t int_stack_top, int_stack_high; @@ -228,7 +228,7 @@ void halt_all_cpus(reboot) kdreboot(); } else { - rebootflag = 1; + rebootflag = TRUE; #ifdef MACH_HYP hyp_halt(); #endif /* MACH_HYP */ |