From 7806985ccef3fc8074a44dfd3f79b2ce21429338 Mon Sep 17 00:00:00 2001 From: Marin Ramesa Date: Thu, 5 Dec 2013 22:03:28 +0100 Subject: i386/i386at/model_dep.c, kd.c: use boolean instead of an int * i386/i386at/kd.c (rebootflag): Use boolean instead of an int. Remove duplicate variable declaration. * i386/i386at/model_dep.c (rebootflag): Use boolean instead of an int. --- i386/i386at/kd.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'i386/i386at/kd.c') 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 */ -- cgit v1.2.3