aboutsummaryrefslogtreecommitdiff
path: root/console-tools/dumpkmap.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-07-31 22:09:33 +0000
committerMike Frysinger <vapier@gentoo.org>2005-07-31 22:09:33 +0000
commit7e64db23d0c56a3c62002a88a4ee8cd152cf8b1a (patch)
tree2516963c9d560d6c7904c29a205deb664cf79a3e /console-tools/dumpkmap.c
parente11ff718ac4bc10539dc31899cc75a6feb78467e (diff)
downloadbusybox-w32-7e64db23d0c56a3c62002a88a4ee8cd152cf8b1a.tar.gz
busybox-w32-7e64db23d0c56a3c62002a88a4ee8cd152cf8b1a.tar.bz2
busybox-w32-7e64db23d0c56a3c62002a88a4ee8cd152cf8b1a.zip
use defines instead of const integers
Diffstat (limited to 'console-tools/dumpkmap.c')
-rw-r--r--console-tools/dumpkmap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/console-tools/dumpkmap.c b/console-tools/dumpkmap.c
index fe962060e..5b5b296b4 100644
--- a/console-tools/dumpkmap.c
+++ b/console-tools/dumpkmap.c
@@ -35,11 +35,11 @@ struct kbentry {
35 unsigned char kb_index; 35 unsigned char kb_index;
36 unsigned short kb_value; 36 unsigned short kb_value;
37}; 37};
38static const int KDGKBENT = 0x4B46; /* gets one entry in translation table */ 38#define KDGKBENT 0x4B46 /* gets one entry in translation table */
39 39
40/* From <linux/keyboard.h> */ 40/* From <linux/keyboard.h> */
41static const int NR_KEYS = 128; 41#define NR_KEYS 128
42static const int MAX_NR_KEYMAPS = 256; 42#define MAX_NR_KEYMAPS 256
43 43
44int dumpkmap_main(int argc, char **argv) 44int dumpkmap_main(int argc, char **argv)
45{ 45{