projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e11ff71
)
use defines instead of const integers
author
Mike Frysinger
<vapier@gentoo.org>
Sun, 31 Jul 2005 22:09:33 +0000
(22:09 -0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Sun, 31 Jul 2005 22:09:33 +0000
(22:09 -0000)
console-tools/dumpkmap.c
patch
|
blob
|
history
diff --git
a/console-tools/dumpkmap.c
b/console-tools/dumpkmap.c
index fe962060e8a248a706837cc1521acc058cb49d7d..5b5b296b4581ca1b568d24862dc5653fac62c8be 100644
(file)
--- 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)
{