summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2019-11-01 18:27:33 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2019-11-04 00:30:32 +0900
commit1405cb653ae8588404e64af0265bb0bec47537b4 (patch)
treec2ca1e0d2598cfd305c56c90142e74cdeeed8bb9
parent021cdf8330b29256e19a34fb4eecf95e9fa9a81b (diff)
downloadsystemd-1405cb653ae8588404e64af0265bb0bec47537b4.tar.gz
systemd-1405cb653ae8588404e64af0265bb0bec47537b4.tar.bz2
systemd-1405cb653ae8588404e64af0265bb0bec47537b4.zip
tree-wide: drop stdio.h when stdio-util.h is included
-rw-r--r--src/basic/efivars.c1
-rw-r--r--src/basic/format-util.c1
-rw-r--r--src/basic/fs-util.c1
-rw-r--r--src/basic/log.c1
-rw-r--r--src/basic/signal-util.c1
-rw-r--r--src/basic/tmpfile-util.c1
-rw-r--r--src/boot/bootctl.c1
-rw-r--r--src/core/main.c1
-rw-r--r--src/core/selinux-access.c1
-rw-r--r--src/fsck/fsck.c1
-rw-r--r--src/journal-remote/journal-remote.c1
-rw-r--r--src/libsystemd-network/sd-dhcp-lease.c1
-rw-r--r--src/nspawn/nspawn.c1
-rw-r--r--src/shared/bus-util.c1
-rw-r--r--src/shared/sleep-config.c1
-rw-r--r--src/shared/switch-root.c1
-rw-r--r--src/sleep/sleep.c1
-rw-r--r--src/test/test-libudev.c1
-rw-r--r--src/tmpfiles/tmpfiles.c1
-rw-r--r--src/udev/udev-builtin-input_id.c1
-rw-r--r--src/udev/udev-builtin-keyboard.c1
-rw-r--r--src/udev/udev-builtin-net_id.c1
-rw-r--r--src/udev/udev-event.c1
-rw-r--r--src/udev/udev-node.c1
-rw-r--r--src/vconsole/vconsole-setup.c1
25 files changed, 0 insertions, 25 deletions
diff --git a/src/basic/efivars.c b/src/basic/efivars.c
index 9b71052ffb..daa66ac2d9 100644
--- a/src/basic/efivars.c
+++ b/src/basic/efivars.c
@@ -4,7 +4,6 @@
#include <fcntl.h>
#include <limits.h>
#include <linux/fs.h>
-#include <stdio.h>
#include <stdlib.h>
#include <sys/stat.h>
#include <unistd.h>
diff --git a/src/basic/format-util.c b/src/basic/format-util.c
index 9fea2e0690..1a73225951 100644
--- a/src/basic/format-util.c
+++ b/src/basic/format-util.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
-#include <stdio.h>
#include "format-util.h"
#include "memory-util.h"
diff --git a/src/basic/fs-util.c b/src/basic/fs-util.c
index 8efb6e39af..8b05d2402d 100644
--- a/src/basic/fs-util.c
+++ b/src/basic/fs-util.c
@@ -2,7 +2,6 @@
#include <errno.h>
#include <stddef.h>
-#include <stdio.h>
#include <stdlib.h>
#include <linux/falloc.h>
#include <linux/magic.h>
diff --git a/src/basic/log.c b/src/basic/log.c
index 13691be67b..17557e1844 100644
--- a/src/basic/log.c
+++ b/src/basic/log.c
@@ -6,7 +6,6 @@
#include <limits.h>
#include <stdarg.h>
#include <stddef.h>
-#include <stdio.h>
#include <sys/signalfd.h>
#include <sys/time.h>
#include <sys/uio.h>
diff --git a/src/basic/signal-util.c b/src/basic/signal-util.c
index fb8a63fb9a..21964bb2db 100644
--- a/src/basic/signal-util.c
+++ b/src/basic/signal-util.c
@@ -2,7 +2,6 @@
#include <errno.h>
#include <stdarg.h>
-#include <stdio.h>
#include "macro.h"
#include "parse-util.h"
diff --git a/src/basic/tmpfile-util.c b/src/basic/tmpfile-util.c
index afcf58aeac..7cdaca4e40 100644
--- a/src/basic/tmpfile-util.c
+++ b/src/basic/tmpfile-util.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
-#include <stdio.h>
#include <sys/mman.h>
#include "alloc-util.h"
diff --git a/src/boot/bootctl.c b/src/boot/bootctl.c
index f16e979e52..72c2115d89 100644
--- a/src/boot/bootctl.c
+++ b/src/boot/bootctl.c
@@ -7,7 +7,6 @@
#include <limits.h>
#include <linux/magic.h>
#include <stdbool.h>
-#include <stdio.h>
#include <stdlib.h>
#include <sys/mman.h>
#include <unistd.h>
diff --git a/src/core/main.c b/src/core/main.c
index 5da47a0bf6..bfbb9331f3 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 <stdio.h>
#include <sys/mount.h>
#include <sys/prctl.h>
#include <sys/reboot.h>
diff --git a/src/core/selinux-access.c b/src/core/selinux-access.c
index cb136322fe..9fd3099fea 100644
--- a/src/core/selinux-access.c
+++ b/src/core/selinux-access.c
@@ -7,7 +7,6 @@
#include <errno.h>
#include <selinux/avc.h>
#include <selinux/selinux.h>
-#include <stdio.h>
#if HAVE_AUDIT
#include <libaudit.h>
#endif
diff --git a/src/fsck/fsck.c b/src/fsck/fsck.c
index 55e6544d31..80f7107b9d 100644
--- a/src/fsck/fsck.c
+++ b/src/fsck/fsck.c
@@ -6,7 +6,6 @@
#include <errno.h>
#include <fcntl.h>
#include <stdbool.h>
-#include <stdio.h>
#include <sys/file.h>
#include <sys/prctl.h>
#include <sys/stat.h>
diff --git a/src/journal-remote/journal-remote.c b/src/journal-remote/journal-remote.c
index 8ad1239e98..b241d3355d 100644
--- a/src/journal-remote/journal-remote.c
+++ b/src/journal-remote/journal-remote.c
@@ -2,7 +2,6 @@
#include <errno.h>
#include <fcntl.h>
-#include <stdio.h>
#include <stdlib.h>
#include <sys/prctl.h>
#include <stdint.h>
diff --git a/src/libsystemd-network/sd-dhcp-lease.c b/src/libsystemd-network/sd-dhcp-lease.c
index be3f22f333..48e8aad8f3 100644
--- a/src/libsystemd-network/sd-dhcp-lease.c
+++ b/src/libsystemd-network/sd-dhcp-lease.c
@@ -5,7 +5,6 @@
#include <arpa/inet.h>
#include <errno.h>
-#include <stdio.h>
#include <stdlib.h>
#include <sys/stat.h>
#include <sys/types.h>
diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c
index eafc52a4b2..c87e859194 100644
--- a/src/nspawn/nspawn.c
+++ b/src/nspawn/nspawn.c
@@ -9,7 +9,6 @@
#if HAVE_SELINUX
#include <selinux/selinux.h>
#endif
-#include <stdio.h>
#include <stdlib.h>
#include <sys/file.h>
#include <sys/personality.h>
diff --git a/src/shared/bus-util.c b/src/shared/bus-util.c
index a55136d913..5fbc55770e 100644
--- a/src/shared/bus-util.c
+++ b/src/shared/bus-util.c
@@ -3,7 +3,6 @@
#include <errno.h>
#include <fcntl.h>
#include <inttypes.h>
-#include <stdio.h>
#include <stdlib.h>
#include <sys/ioctl.h>
#include <sys/resource.h>
diff --git a/src/shared/sleep-config.c b/src/shared/sleep-config.c
index f1ee8c10ec..03108b92cb 100644
--- a/src/shared/sleep-config.c
+++ b/src/shared/sleep-config.c
@@ -8,7 +8,6 @@
#include <linux/fs.h>
#include <stdbool.h>
#include <stddef.h>
-#include <stdio.h>
#include <sys/ioctl.h>
#include <sys/stat.h>
#include <sys/types.h>
diff --git a/src/shared/switch-root.c b/src/shared/switch-root.c
index ebe9041482..bd89cb4ef1 100644
--- a/src/shared/switch-root.c
+++ b/src/shared/switch-root.c
@@ -4,7 +4,6 @@
#include <fcntl.h>
#include <limits.h>
#include <stdbool.h>
-#include <stdio.h>
#include <sys/mount.h>
#include <sys/stat.h>
#include <unistd.h>
diff --git a/src/sleep/sleep.c b/src/sleep/sleep.c
index f6a94f128a..89b80367f8 100644
--- a/src/sleep/sleep.c
+++ b/src/sleep/sleep.c
@@ -9,7 +9,6 @@
#include <getopt.h>
#include <linux/fiemap.h>
#include <poll.h>
-#include <stdio.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <sys/timerfd.h>
diff --git a/src/test/test-libudev.c b/src/test/test-libudev.c
index dcb5bcc254..3ca8e1b108 100644
--- a/src/test/test-libudev.c
+++ b/src/test/test-libudev.c
@@ -2,7 +2,6 @@
#include <errno.h>
#include <getopt.h>
-#include <stdio.h>
#include <sys/epoll.h>
#include <unistd.h>
diff --git a/src/tmpfiles/tmpfiles.c b/src/tmpfiles/tmpfiles.c
index 17072f78b4..f4f7705a32 100644
--- a/src/tmpfiles/tmpfiles.c
+++ b/src/tmpfiles/tmpfiles.c
@@ -8,7 +8,6 @@
#include <linux/fs.h>
#include <stdbool.h>
#include <stddef.h>
-#include <stdio.h>
#include <stdlib.h>
#include <sys/file.h>
#include <sys/xattr.h>
diff --git a/src/udev/udev-builtin-input_id.c b/src/udev/udev-builtin-input_id.c
index 034e5987cc..9a8e4790f5 100644
--- a/src/udev/udev-builtin-input_id.c
+++ b/src/udev/udev-builtin-input_id.c
@@ -9,7 +9,6 @@
#include <errno.h>
#include <fcntl.h>
#include <stdarg.h>
-#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <linux/limits.h>
diff --git a/src/udev/udev-builtin-keyboard.c b/src/udev/udev-builtin-keyboard.c
index 7dbd829b6d..bb82e8ae97 100644
--- a/src/udev/udev-builtin-keyboard.c
+++ b/src/udev/udev-builtin-keyboard.c
@@ -2,7 +2,6 @@
#include <errno.h>
#include <fcntl.h>
-#include <stdio.h>
#include <stdlib.h>
#include <sys/ioctl.h>
#include <linux/input.h>
diff --git a/src/udev/udev-builtin-net_id.c b/src/udev/udev-builtin-net_id.c
index 4cdbfa1321..65f668d2a7 100644
--- a/src/udev/udev-builtin-net_id.c
+++ b/src/udev/udev-builtin-net_id.c
@@ -17,7 +17,6 @@
#include <net/if.h>
#include <net/if_arp.h>
#include <stdarg.h>
-#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <linux/pci_regs.h>
diff --git a/src/udev/udev-event.c b/src/udev/udev-event.c
index 8cfa2cdf23..bff75ed521 100644
--- a/src/udev/udev-event.c
+++ b/src/udev/udev-event.c
@@ -5,7 +5,6 @@
#include <fcntl.h>
#include <net/if.h>
#include <stddef.h>
-#include <stdio.h>
#include <stdlib.h>
#include <sys/wait.h>
#include <unistd.h>
diff --git a/src/udev/udev-node.c b/src/udev/udev-node.c
index fbbc515b00..2d725707d0 100644
--- a/src/udev/udev-node.c
+++ b/src/udev/udev-node.c
@@ -4,7 +4,6 @@
#include <fcntl.h>
#include <stdbool.h>
#include <stddef.h>
-#include <stdio.h>
#include <sys/stat.h>
#include <unistd.h>
diff --git a/src/vconsole/vconsole-setup.c b/src/vconsole/vconsole-setup.c
index 75d052ae70..9d706085fb 100644
--- a/src/vconsole/vconsole-setup.c
+++ b/src/vconsole/vconsole-setup.c
@@ -10,7 +10,6 @@
#include <linux/tiocl.h>
#include <linux/vt.h>
#include <stdbool.h>
-#include <stdio.h>
#include <stdlib.h>
#include <sys/ioctl.h>
#include <sysexits.h>