diff options
author | Mark Whitley <markw@lineo.com> | 2001-01-24 01:30:04 +0300 |
---|---|---|
committer | Mark Whitley <markw@lineo.com> | 2001-01-24 01:30:04 +0300 |
commit | 59ab025363d884deb2013dcaae6c968585a6ec72 (patch) | |
tree | 852d97bdc34c44dbcf29cc8b5cd9257a8c90f7b3 /loadkmap.c | |
parent | 2b8d07c590249991fae975652aae86f5fca91f81 (diff) |
#define -> static const int. Also got rid of some big static buffers.
Diffstat (limited to 'loadkmap.c')
-rw-r--r-- | loadkmap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/loadkmap.c b/loadkmap.c index fc2439864..43c1cc795 100644 --- a/loadkmap.c +++ b/loadkmap.c @@ -34,11 +34,11 @@ struct kbentry { unsigned char kb_index; unsigned short kb_value; }; -#define KDSKBENT 0x4B47 /* sets one entry in translation table */ +static const int KDSKBENT = 0x4B47; /* sets one entry in translation table */ /* From <linux/keyboard.h> */ -#define NR_KEYS 128 -#define MAX_NR_KEYMAPS 256 +static const int NR_KEYS = 128; +static const int MAX_NR_KEYMAPS = 256; int loadkmap_main(int argc, char **argv) { |