diff options
author | Mark Whitley <markw@lineo.com> | 2001-01-23 22:30:04 +0000 |
---|---|---|
committer | Mark Whitley <markw@lineo.com> | 2001-01-23 22:30:04 +0000 |
commit | 59ab025363d884deb2013dcaae6c968585a6ec72 (patch) | |
tree | 852d97bdc34c44dbcf29cc8b5cd9257a8c90f7b3 /console-tools/dumpkmap.c | |
parent | 2b8d07c590249991fae975652aae86f5fca91f81 (diff) | |
download | busybox-w32-59ab025363d884deb2013dcaae6c968585a6ec72.tar.gz busybox-w32-59ab025363d884deb2013dcaae6c968585a6ec72.tar.bz2 busybox-w32-59ab025363d884deb2013dcaae6c968585a6ec72.zip |
#define -> static const int. Also got rid of some big static buffers.
Diffstat (limited to 'console-tools/dumpkmap.c')
-rw-r--r-- | console-tools/dumpkmap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/console-tools/dumpkmap.c b/console-tools/dumpkmap.c index c5a2ea74e..b438ba271 100644 --- a/console-tools/dumpkmap.c +++ b/console-tools/dumpkmap.c | |||
@@ -32,11 +32,11 @@ struct kbentry { | |||
32 | unsigned char kb_index; | 32 | unsigned char kb_index; |
33 | unsigned short kb_value; | 33 | unsigned short kb_value; |
34 | }; | 34 | }; |
35 | #define KDGKBENT 0x4B46 /* gets one entry in translation table */ | 35 | static const int KDGKBENT = 0x4B46; /* gets one entry in translation table */ |
36 | 36 | ||
37 | /* From <linux/keyboard.h> */ | 37 | /* From <linux/keyboard.h> */ |
38 | #define NR_KEYS 128 | 38 | static const int NR_KEYS = 128; |
39 | #define MAX_NR_KEYMAPS 256 | 39 | static const int MAX_NR_KEYMAPS = 256; |
40 | 40 | ||
41 | int dumpkmap_main(int argc, char **argv) | 41 | int dumpkmap_main(int argc, char **argv) |
42 | { | 42 | { |