summaryrefslogtreecommitdiff
path: root/src/udev/collect/collect.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2012-07-22 14:42:09 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2012-07-22 23:53:48 +0200
commitd91b8841d7a3ee08aa686852154b08a3e9eb9732 (patch)
treebe74173c9a2cead7f6498984d4b0bb13cb05deab /src/udev/collect/collect.c
parent97f4e8875088ff34da535864afa0054f24071cd5 (diff)
collect, keymap, systemctl: use _noreturn_
Diffstat (limited to 'src/udev/collect/collect.c')
-rw-r--r--src/udev/collect/collect.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/udev/collect/collect.c b/src/udev/collect/collect.c
index 777542979a..80f464aff0 100644
--- a/src/udev/collect/collect.c
+++ b/src/udev/collect/collect.c
@@ -33,6 +33,7 @@
#include "libudev.h"
#include "libudev-private.h"
+#include "macro.h"
#define BUFSIZE 16
#define UDEV_ALARM_TIMEOUT 180
@@ -60,7 +61,7 @@ static inline struct _mate *node_to_mate(struct udev_list_node *node)
return container_of(node, struct _mate, node);
}
-static void sig_alrm(int signo)
+_noreturn_ static void sig_alrm(int signo)
{
exit(4);
}