diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2012-07-22 14:42:09 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2012-07-22 23:53:48 +0200 |
commit | d91b8841d7a3ee08aa686852154b08a3e9eb9732 (patch) | |
tree | be74173c9a2cead7f6498984d4b0bb13cb05deab /src/udev/keymap | |
parent | 97f4e8875088ff34da535864afa0054f24071cd5 (diff) |
collect, keymap, systemctl: use _noreturn_
Diffstat (limited to 'src/udev/keymap')
-rw-r--r-- | src/udev/keymap/keymap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/udev/keymap/keymap.c b/src/udev/keymap/keymap.c index 051aa42552..6dc9c2d200 100644 --- a/src/udev/keymap/keymap.c +++ b/src/udev/keymap/keymap.c @@ -40,6 +40,7 @@ const struct key* lookup_key (const char *str, unsigned int len); #include "keys-from-name.h" #include "keys-to-name.h" +#include "macro.h" #include "util.h" #define MAX_SCANCODES 1024 @@ -346,7 +347,7 @@ static void interactive(int fd) ioctl(fd, EVIOCGRAB, 0); } -static void help(int error) +_noreturn_ static void help(int error) { const char* h = "Usage: keymap <event device> [<map file>]\n" " keymap <event device> scancode keyname [...]\n" |