summaryrefslogtreecommitdiff
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
parentd8704e691410eeb5a8b89d4380357975177b2b16 (diff)
downloadsystemd-021cdf8330b29256e19a34fb4eecf95e9fa9a81b.tar.gz
tree-wide: drop signal.h when signal-util.h is included
-rw-r--r--src/basic/process-util.c1
-rw-r--r--src/basic/util.c1
-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
-rw-r--r--src/nspawn/nspawn.c1
-rw-r--r--src/partition/makefs.c1
-rw-r--r--src/shared/ask-password-api.c1
-rw-r--r--src/shared/pager.c1
-rw-r--r--src/shutdown/shutdown.c1
-rw-r--r--src/test/test-signal-util.c1
-rw-r--r--src/time-wait-sync/time-wait-sync.c1
-rw-r--r--src/tty-ask-password-agent/tty-ask-password-agent.c1
-rw-r--r--src/udev/udevadm-monitor.c1
-rw-r--r--src/udev/udevd.c1
17 files changed, 0 insertions, 17 deletions
diff --git a/src/basic/process-util.c b/src/basic/process-util.c
index 87b03f89e5..aaec6a6a99 100644
--- a/src/basic/process-util.c
+++ b/src/basic/process-util.c
@@ -4,7 +4,6 @@
#include <errno.h>
#include <limits.h>
#include <linux/oom.h>
-#include <signal.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/src/basic/util.c b/src/basic/util.c
index 7e9e85d11f..0545b79792 100644
--- a/src/basic/util.c
+++ b/src/basic/util.c
@@ -3,7 +3,6 @@
#include <errno.h>
#include <fcntl.h>
#include <sched.h>
-#include <signal.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
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>
diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c
index 6439e604da..eafc52a4b2 100644
--- a/src/nspawn/nspawn.c
+++ b/src/nspawn/nspawn.c
@@ -9,7 +9,6 @@
#if HAVE_SELINUX
#include <selinux/selinux.h>
#endif
-#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/file.h>
diff --git a/src/partition/makefs.c b/src/partition/makefs.c
index 0b9bae55e7..ee4907f73f 100644
--- a/src/partition/makefs.c
+++ b/src/partition/makefs.c
@@ -3,7 +3,6 @@
***/
#include <fcntl.h>
-#include <signal.h>
#include <sys/prctl.h>
#include <sys/stat.h>
#include <sys/types.h>
diff --git a/src/shared/ask-password-api.c b/src/shared/ask-password-api.c
index e00981872d..5488d8a74b 100644
--- a/src/shared/ask-password-api.c
+++ b/src/shared/ask-password-api.c
@@ -5,7 +5,6 @@
#include <inttypes.h>
#include <limits.h>
#include <poll.h>
-#include <signal.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
diff --git a/src/shared/pager.c b/src/shared/pager.c
index ad99c5206c..1fe9db1791 100644
--- a/src/shared/pager.c
+++ b/src/shared/pager.c
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
#include <errno.h>
-#include <signal.h>
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
diff --git a/src/shutdown/shutdown.c b/src/shutdown/shutdown.c
index 1be26bf56f..15e6c1799e 100644
--- a/src/shutdown/shutdown.c
+++ b/src/shutdown/shutdown.c
@@ -6,7 +6,6 @@
#include <errno.h>
#include <getopt.h>
#include <linux/reboot.h>
-#include <signal.h>
#include <stdbool.h>
#include <stdlib.h>
#include <sys/mman.h>
diff --git a/src/test/test-signal-util.c b/src/test/test-signal-util.c
index 8ea4163790..1a8c60ad42 100644
--- a/src/test/test-signal-util.c
+++ b/src/test/test-signal-util.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
-#include <signal.h>
#include <unistd.h>
#include "log.h"
diff --git a/src/time-wait-sync/time-wait-sync.c b/src/time-wait-sync/time-wait-sync.c
index 124c74076b..e880f9e6b6 100644
--- a/src/time-wait-sync/time-wait-sync.c
+++ b/src/time-wait-sync/time-wait-sync.c
@@ -8,7 +8,6 @@
*/
#include <errno.h>
-#include <signal.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/src/tty-ask-password-agent/tty-ask-password-agent.c b/src/tty-ask-password-agent/tty-ask-password-agent.c
index 5fa0b8dca1..784dd0df72 100644
--- a/src/tty-ask-password-agent/tty-ask-password-agent.c
+++ b/src/tty-ask-password-agent/tty-ask-password-agent.c
@@ -7,7 +7,6 @@
#include <fcntl.h>
#include <getopt.h>
#include <poll.h>
-#include <signal.h>
#include <stdbool.h>
#include <stddef.h>
#include <sys/prctl.h>
diff --git a/src/udev/udevadm-monitor.c b/src/udev/udevadm-monitor.c
index ca7ca3c37f..2ca98a729f 100644
--- a/src/udev/udevadm-monitor.c
+++ b/src/udev/udevadm-monitor.c
@@ -2,7 +2,6 @@
#include <errno.h>
#include <getopt.h>
-#include <signal.h>
#include "sd-device.h"
#include "sd-event.h"
diff --git a/src/udev/udevd.c b/src/udev/udevd.c
index 867422ad36..0ae61c1e8b 100644
--- a/src/udev/udevd.c
+++ b/src/udev/udevd.c
@@ -8,7 +8,6 @@
#include <errno.h>
#include <fcntl.h>
#include <getopt.h>
-#include <signal.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdio.h>