From bcae7d03b47e0697eda6992667b8053e3484c8ff Mon Sep 17 00:00:00 2001 From: Sam James Date: Wed, 25 Jan 2023 04:00:50 +0000 Subject: openrc: mark handle_bad_signal as noreturn For -Wmissing-noreturn. --- src/openrc/rc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openrc/rc.c b/src/openrc/rc.c index 941a3d2c..183663d0 100644 --- a/src/openrc/rc.c +++ b/src/openrc/rc.c @@ -695,7 +695,7 @@ do_start_services(const RC_STRINGLIST *start_services, bool parallel) } #ifdef RC_DEBUG -static void +_noreturn static void handle_bad_signal(int sig) { char pid[10]; -- cgit v1.2.3