summaryrefslogtreecommitdiff
path: root/console-tools/setkeycodes.c
diff options
context:
space:
mode:
Diffstat (limited to 'console-tools/setkeycodes.c')
-rw-r--r--console-tools/setkeycodes.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/console-tools/setkeycodes.c b/console-tools/setkeycodes.c
index efb6e65..dacf37b 100644
--- a/console-tools/setkeycodes.c
+++ b/console-tools/setkeycodes.c
@@ -33,7 +33,9 @@
struct kbkeycode {
unsigned int scancode, keycode;
};
-static const int KDSETKEYCODE = 0x4B4D; /* write kernel keycode table entry */
+enum {
+ KDSETKEYCODE = 0x4B4D /* write kernel keycode table entry */
+};
extern int
setkeycodes_main(int argc, char** argv)