mirror of
https://github.com/sheumann/hush.git
synced 2025-01-02 09:31:26 +00:00
use defines instead of const integers
This commit is contained in:
parent
e11ff718ac
commit
7e64db23d0
@ -35,11 +35,11 @@ struct kbentry {
|
|||||||
unsigned char kb_index;
|
unsigned char kb_index;
|
||||||
unsigned short kb_value;
|
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> */
|
/* From <linux/keyboard.h> */
|
||||||
static const int NR_KEYS = 128;
|
#define NR_KEYS 128
|
||||||
static const int MAX_NR_KEYMAPS = 256;
|
#define MAX_NR_KEYMAPS 256
|
||||||
|
|
||||||
int dumpkmap_main(int argc, char **argv)
|
int dumpkmap_main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user