summaryrefslogtreecommitdiff
path: root/i386/i386at/kd.c
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-12-05 22:03:28 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-12-09 00:03:25 +0900
commit7806985ccef3fc8074a44dfd3f79b2ce21429338 (patch)
treee57245ecb54d4019bd8a2c03c8ad3e9516d6f5d0 /i386/i386at/kd.c
parente86050875d72dbe2f80d3475220f769d7928f30b (diff)
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.
Diffstat (limited to 'i386/i386at/kd.c')
-rw-r--r--i386/i386at/kd.c3
1 files changed, 1 insertions, 2 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 */