[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 38/66] i386/i386at/kd.c: use boolean instead of an int
From: |
Marin Ramesa |
Subject: |
[PATCH 38/66] i386/i386at/kd.c: use boolean instead of an int |
Date: |
Thu, 5 Dec 2013 22:03:32 +0100 |
* i386/i386at/kd.c (mouse_in_use): Use boolean instead of an int.
Remove duplicate declaration.
---
i386/i386at/kd.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/i386/i386at/kd.c b/i386/i386at/kd.c
index 1a2d9fd..3299e70 100644
--- a/i386/i386at/kd.c
+++ b/i386/i386at/kd.c
@@ -400,8 +400,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)
@@ -737,7 +737,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 */
--
1.8.1.4
- [PATCH 56/66] kern/lock_mon.c: use spl_t instead of an int, (continued)
- [PATCH 56/66] kern/lock_mon.c: use spl_t instead of an int, Marin Ramesa, 2013/12/05
- [PATCH 58/66] kern/pc_sample.c: remove unused variables, Marin Ramesa, 2013/12/05
- [PATCH 59/66] kern/priority.c: update comment, Marin Ramesa, 2013/12/05
- [PATCH 60/66] kern/rbtree.h: remove unnecessary include, Marin Ramesa, 2013/12/05
- [PATCH 64/66] Cleanup of the prototypes, Marin Ramesa, 2013/12/05
- [PATCH 65/66] kern/act.h: remove unnecessary include, Marin Ramesa, 2013/12/05
- [PATCH 63/66] vm/vm_page.h: remove unused variables, Marin Ramesa, 2013/12/05
- [PATCH 36/66] i386/i386at/kd.c: simplify code, Marin Ramesa, 2013/12/05
- [PATCH 62/66] kern/syscall_sw.c: use boolean instead of an int, Marin Ramesa, 2013/12/05
- [PATCH 38/66] i386/i386at/kd.c: use boolean instead of an int,
Marin Ramesa <=
- [PATCH 66/66] kern/processor.h: remove ifdef, Marin Ramesa, 2013/12/05
- [PATCH 37/66] i386/i386at/kd.c: simplify code, Marin Ramesa, 2013/12/05
- [PATCH 39/66] i386/i386at/kd.c: use boolean instead of an unsigned int, Marin Ramesa, 2013/12/05
- [PATCH 61/66] kern/refcount.h: remove unnecessary include, Marin Ramesa, 2013/12/05
- [PATCH 35/66] i386/i386at/kd.c: simplify code, Marin Ramesa, 2013/12/05