summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2019-11-01 18:27:01 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2019-11-04 00:30:32 +0900
commit021cdf8330b29256e19a34fb4eecf95e9fa9a81b (patch)
tree39152efd55310ee30d87febbf384af9301ff4af3 /src/core
parentd8704e691410eeb5a8b89d4380357975177b2b16 (diff)
downloadsystemd-021cdf8330b29256e19a34fb4eecf95e9fa9a81b.tar.gz
tree-wide: drop signal.h when signal-util.h is included
Diffstat (limited to 'src/core')
-rw-r--r--src/core/execute.c1
-rw-r--r--src/core/main.c1
-rw-r--r--src/core/manager.c1
-rw-r--r--src/core/service.c1
-rw-r--r--src/core/socket.c1
5 files changed, 0 insertions, 5 deletions
diff --git a/src/core/execute.c b/src/core/execute.c
index ca389475f6..1c22c3d80e 100644
--- a/src/core/execute.c
+++ b/src/core/execute.c
@@ -3,7 +3,6 @@
#include <errno.h>
#include <fcntl.h>
#include <poll.h>
-#include <signal.h>
#include <sys/eventfd.h>
#include <sys/ioctl.h>
#include <sys/mman.h>
diff --git a/src/core/main.c b/src/core/main.c
index 5353ac80e3..5da47a0bf6 100644
--- a/src/core/main.c
+++ b/src/core/main.c
@@ -3,7 +3,6 @@
#include <errno.h>
#include <fcntl.h>
#include <getopt.h>
-#include <signal.h>
#include <stdio.h>
#include <sys/mount.h>
#include <sys/prctl.h>
diff --git a/src/core/manager.c b/src/core/manager.c
index fc1207cbe0..700493ee0d 100644
--- a/src/core/manager.c
+++ b/src/core/manager.c
@@ -3,7 +3,6 @@
#include <errno.h>
#include <fcntl.h>
#include <linux/kd.h>
-#include <signal.h>
#include <sys/epoll.h>
#include <sys/inotify.h>
#include <sys/ioctl.h>
diff --git a/src/core/service.c b/src/core/service.c
index e0d359890a..ebbd99a3cc 100644
--- a/src/core/service.c
+++ b/src/core/service.c
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
#include <errno.h>
-#include <signal.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
diff --git a/src/core/socket.c b/src/core/socket.c
index ee8ed3fd06..fc5ee69c9c 100644
--- a/src/core/socket.c
+++ b/src/core/socket.c
@@ -5,7 +5,6 @@
#include <fcntl.h>
#include <mqueue.h>
#include <netinet/tcp.h>
-#include <signal.h>
#include <sys/epoll.h>
#include <sys/stat.h>
#include <unistd.h>