summaryrefslogtreecommitdiff
path: root/src/basic
diff options
context:
space:
mode:
Diffstat (limited to 'src/basic')
-rw-r--r--src/basic/util.c4
-rw-r--r--src/basic/util.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/src/basic/util.c b/src/basic/util.c
index c788a1d58b..f7e4aefebb 100644
--- a/src/basic/util.c
+++ b/src/basic/util.c
@@ -6916,3 +6916,7 @@ int receive_one_fd(int transport_fd, int flags) {
return *(int*) CMSG_DATA(found);
}
+
+void nop_signal_handler(int sig) {
+ /* nothing here */
+}
diff --git a/src/basic/util.h b/src/basic/util.h
index e6417b4ccd..96811f23d9 100644
--- a/src/basic/util.h
+++ b/src/basic/util.h
@@ -944,3 +944,5 @@ int fgetxattr_malloc(int fd, const char *name, char **value);
int send_one_fd(int transport_fd, int fd, int flags);
int receive_one_fd(int transport_fd, int flags);
+
+void nop_signal_handler(int sig);