diff options
| author | 2014-07-29 17:42:30 +0200 | |
|---|---|---|
| committer | 2014-07-30 01:11:08 +0200 | |
| commit | e46bdd41d8c9b97334524ebe030da540a0522cea (patch) | |
| tree | 2a18ae83c8ac7fb1753ca4faf5c6e776ecbed142 | |
| parent | 3a1562c04942fd232cdfa9b4b3458f0b391e5aa9 (diff) | |
| download | xkbcat-e46bdd41d8c9b97334524ebe030da540a0522cea.tar.gz xkbcat-e46bdd41d8c9b97334524ebe030da540a0522cea.zip | |
Nicer constant formatting
| -rw-r--r-- | xkbcat.c | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -22,11 +22,9 @@ #include <stdbool.h> #include <time.h> -char *DEFAULT_DISPLAY = ":0"; -const int DEFAULT_DELAY = 10000000; -static inline int BIT(char *c, int x) { - return ( c[x/8]& (1<<(x%8)) ); -} +char * DEFAULT_DISPLAY = ":0"; +const int DEFAULT_DELAY = 10000000; +static inline int BIT(char *c, int x) { return ( c[x/8]& (1<<(x%8)) ); } const int KEYSYM_STRLEN = 64; /* Globals */ |
