diff options
| author | Mike Frysinger <vapier@gentoo.org> | 2005-07-31 22:09:33 +0000 |
|---|---|---|
| committer | Mike Frysinger <vapier@gentoo.org> | 2005-07-31 22:09:33 +0000 |
| commit | 7e64db23d0c56a3c62002a88a4ee8cd152cf8b1a (patch) | |
| tree | 2516963c9d560d6c7904c29a205deb664cf79a3e | |
| parent | e11ff718ac4bc10539dc31899cc75a6feb78467e (diff) | |
| download | busybox-w32-7e64db23d0c56a3c62002a88a4ee8cd152cf8b1a.tar.gz busybox-w32-7e64db23d0c56a3c62002a88a4ee8cd152cf8b1a.tar.bz2 busybox-w32-7e64db23d0c56a3c62002a88a4ee8cd152cf8b1a.zip | |
use defines instead of const integers
| -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 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 | }; |
| 38 | static 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> */ |
| 41 | static const int NR_KEYS = 128; | 41 | #define NR_KEYS 128 |
| 42 | static const int MAX_NR_KEYMAPS = 256; | 42 | #define MAX_NR_KEYMAPS 256 |
| 43 | 43 | ||
| 44 | int dumpkmap_main(int argc, char **argv) | 44 | int dumpkmap_main(int argc, char **argv) |
| 45 | { | 45 | { |
