summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-12-05 22:03:32 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-12-09 00:09:32 +0900
commite4d39d55f160a7ae3c3b235efd40be9c7da953e3 (patch)
treee577ed6e1c8c6a38faf42a74576ee1260ca72feb
parent7806985ccef3fc8074a44dfd3f79b2ce21429338 (diff)
i386/i386at/kd.c: use boolean instead of an int
* i386/i386at/kd.c (mouse_in_use): Use boolean instead of an int. Remove duplicate declaration.
-rw-r--r--i386/i386at/kd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/i386/i386at/kd.c b/i386/i386at/kd.c
index b8e9487..433d0f1 100644
--- a/i386/i386at/kd.c
+++ b/i386/i386at/kd.c
@@ -398,8 +398,8 @@ char c;
#endif /* DEBUG */
-extern int mouse_in_use;
-int old_kb_mode;
+extern boolean_t mouse_in_use;
+int old_kb_mode;
void
cnpollc(on)
@@ -735,7 +735,7 @@ int vec;
unsigned char scancode;
int char_idx;
boolean_t up = FALSE; /* key-up event */
- extern int mouse_in_use;
+
if (kd_pollc)
return; /* kdb polling kbd */