minor macro formatting
This commit is contained in:
parent
d7b0ac68ef
commit
bd3d82158b
4
hkd.c
4
hkd.c
@ -27,8 +27,8 @@
|
|||||||
#define test_bit(yalv, abs_b) ((((char *)abs_b)[yalv/8] & (1<<yalv%8)) > 0)
|
#define test_bit(yalv, abs_b) ((((char *)abs_b)[yalv/8] & (1<<yalv%8)) > 0)
|
||||||
#define die(str) {perror(red(str)); exit(errno);}
|
#define die(str) {perror(red(str)); exit(errno);}
|
||||||
|
|
||||||
#define EVENT_SIZE (sizeof(struct inotify_event))
|
#define EVENT_SIZE (sizeof(struct inotify_event))
|
||||||
#define EVENT_BUF_LEN (1024 * ( EVENT_SIZE + 16 ))
|
#define EVENT_BUF_LEN (1024*(EVENT_SIZE+16))
|
||||||
|
|
||||||
struct key_buffer {
|
struct key_buffer {
|
||||||
unsigned short *buf;
|
unsigned short *buf;
|
||||||
|
Loading…
Reference in New Issue
Block a user