summaryrefslogtreecommitdiff
path: root/src/basic/signal-util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/basic/signal-util.c')
-rw-r--r--src/basic/signal-util.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/basic/signal-util.c b/src/basic/signal-util.c
index 730f99e0af..e5ac6317d4 100644
--- a/src/basic/signal-util.c
+++ b/src/basic/signal-util.c
@@ -19,11 +19,11 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
+#include "parse-util.h"
+#include "signal-util.h"
#include "string-util.h"
#include "util.h"
-#include "signal-util.h"
-
int reset_all_signal_handlers(void) {
static const struct sigaction sa = {
.sa_handler = SIG_DFL,
@@ -268,3 +268,7 @@ int signal_from_string_try_harder(const char *s) {
return signo;
}
+
+void nop_signal_handler(int sig) {
+ /* nothing here */
+}