summaryrefslogtreecommitdiff
path: root/src/udev/collect
diff options
context:
space:
mode:
Diffstat (limited to 'src/udev/collect')
-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);
}