#define -> static const int. Also got rid of some big static buffers.
diff --git a/loadkmap.c b/loadkmap.c
index fc24398..43c1cc7 100644
--- a/loadkmap.c
+++ b/loadkmap.c
@@ -34,11 +34,11 @@
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)
{