aboutsummaryrefslogtreecommitdiff
path: root/console-tools
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
parente11ff718ac4bc10539dc31899cc75a6feb78467e (diff)
downloadbusybox-7e64db23d0c56a3c62002a88a4ee8cd152cf8b1a.tar.gz
use defines instead of const integers
Diffstat (limited to 'console-tools')
-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 {
unsigned char kb_index;
unsigned short kb_value;
};
-static const int KDGKBENT = 0x4B46; /* gets one entry in translation table */
+#define KDGKBENT 0x4B46 /* gets one entry in translation table */
/* From <linux/keyboard.h> */
-static const int NR_KEYS = 128;
-static const int MAX_NR_KEYMAPS = 256;
+#define NR_KEYS 128
+#define MAX_NR_KEYMAPS 256
int dumpkmap_main(int argc, char **argv)
{