[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 40/66] i386/i386at/kd.h: remove ifdef
From: |
Marin Ramesa |
Subject: |
[PATCH 40/66] i386/i386at/kd.h: remove ifdef |
Date: |
Thu, 5 Dec 2013 22:03:34 +0100 |
Variable key_map is used even if KERNEL is not defined. Remove
ifdef.
* i386/i386at/kd.h [KERNEL]: Remove ifdef.
---
i386/i386at/kd.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/i386/i386at/kd.h b/i386/i386at/kd.h
index b29a5bf..4d1ab7f 100644
--- a/i386/i386at/kd.h
+++ b/i386/i386at/kd.h
@@ -555,9 +555,7 @@ typedef u_char Scancode;
* sequence for the Normal state. The next NUMOUTPUT characters
* are for the Shift state, then Ctrl, then Alt, then Shift/Alt.
*/
-#ifdef KERNEL
extern u_char key_map[NUMKEYS][WIDTH_KMAP];
-#endif /* KERNEL */
--
1.8.1.4
- [PATCH 27/66] i386/i386/pit.c: remove unused variables, (continued)
- [PATCH 27/66] i386/i386/pit.c: remove unused variables, Marin Ramesa, 2013/12/05
- [PATCH 29/66] i386/i386/trap.c: remove unused variables, Marin Ramesa, 2013/12/05
- [PATCH 28/66] i386/i386/trap.c: remove unused variable, Marin Ramesa, 2013/12/05
- [PATCH 30/66] i386/i386/user_ldt.c: remove unused variable, Marin Ramesa, 2013/12/05
- [PATCH 31/66] i386/i386at/com.c: simplify code, Marin Ramesa, 2013/12/05
- [PATCH 32/66] i386/i386at/com.c: remove dead assignment, Marin Ramesa, 2013/12/05
- [PATCH 33/66] i386/i386at/immc.c, kd.c: use boolean instead of an int, Marin Ramesa, 2013/12/05
- [PATCH 34/66] i386/i386at/model_dep.c, kd.c: use boolean instead of an int, Marin Ramesa, 2013/12/05
- [PATCH 40/66] i386/i386at/kd.h: remove ifdef,
Marin Ramesa <=
- [PATCH 41/66] i386/i386at/kd.h: remove ifdef, Marin Ramesa, 2013/12/05
- [PATCH 43/66] i386/i386at/rtc.c: use boolean instead of an int, Marin Ramesa, 2013/12/05
- [PATCH 42/66] i386/i386at/lpr.c: remove uninitialized variable, Marin Ramesa, 2013/12/05
- [PATCH 44/66] i386/i386at/rtc.c: remove unused variable, Marin Ramesa, 2013/12/05
- [PATCH 45/66] i386/intel/pmap.c: use boolean instead of an int, Marin Ramesa, 2013/12/05
- [PATCH 47/66] ipc/ipc_init.c: qualify constant with const, Marin Ramesa, 2013/12/05
- [PATCH 46/66] i386/intel/pmap.c: remove unused variable, Marin Ramesa, 2013/12/05