summaryrefslogtreecommitdiffstats
path: root/src/shared
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/ask-password-api.c1
-rw-r--r--src/shared/bus-util.c1
-rw-r--r--src/shared/calendarspec.c1
-rw-r--r--src/shared/cgroup-show.c1
-rw-r--r--src/shared/clean-ipc.c1
-rw-r--r--src/shared/condition.c1
-rw-r--r--src/shared/conf-parser.c1
-rw-r--r--src/shared/dm-util.c1
-rw-r--r--src/shared/dns-domain.c1
-rw-r--r--src/shared/fstab-util.c1
-rw-r--r--src/shared/import-util.c1
-rw-r--r--src/shared/install-printf.c1
-rw-r--r--src/shared/install.c1
-rw-r--r--src/shared/json.c1
-rw-r--r--src/shared/logs-show.c1
-rw-r--r--src/shared/machine-image.c1
-rw-r--r--src/shared/mount-util.c1
-rw-r--r--src/shared/pager.c1
-rw-r--r--src/shared/path-lookup.c1
-rw-r--r--src/shared/sleep-config.c1
-rw-r--r--src/shared/specifier.c1
-rw-r--r--src/shared/sysctl-util.c1
-rw-r--r--src/shared/utmp-wtmp.c1
-rw-r--r--src/shared/verbs.c1
-rw-r--r--src/shared/xml.c1
25 files changed, 0 insertions, 25 deletions
diff --git a/src/shared/ask-password-api.c b/src/shared/ask-password-api.c
index 9b5b8f8f13..aa08e0b4ef 100644
--- a/src/shared/ask-password-api.c
+++ b/src/shared/ask-password-api.c
@@ -11,7 +11,6 @@
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
-#include <string.h>
#include <sys/inotify.h>
#include <sys/signalfd.h>
#include <sys/socket.h>
diff --git a/src/shared/bus-util.c b/src/shared/bus-util.c
index 7a4da51911..a55136d913 100644
--- a/src/shared/bus-util.c
+++ b/src/shared/bus-util.c
@@ -5,7 +5,6 @@
#include <inttypes.h>
#include <stdio.h>
#include <stdlib.h>
-#include <string.h>
#include <sys/ioctl.h>
#include <sys/resource.h>
#include <sys/socket.h>
diff --git a/src/shared/calendarspec.c b/src/shared/calendarspec.c
index 9b1582da99..609403ab79 100644
--- a/src/shared/calendarspec.c
+++ b/src/shared/calendarspec.c
@@ -7,7 +7,6 @@
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
-#include <string.h>
#include <sys/mman.h>
#include <time.h>
diff --git a/src/shared/cgroup-show.c b/src/shared/cgroup-show.c
index 732bc752af..4657e820d9 100644
--- a/src/shared/cgroup-show.c
+++ b/src/shared/cgroup-show.c
@@ -5,7 +5,6 @@
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
-#include <string.h>
#include "alloc-util.h"
#include "bus-error.h"
diff --git a/src/shared/clean-ipc.c b/src/shared/clean-ipc.c
index 46fa68027e..88d8e45ca1 100644
--- a/src/shared/clean-ipc.c
+++ b/src/shared/clean-ipc.c
@@ -7,7 +7,6 @@
#include <mqueue.h>
#include <stdbool.h>
#include <stdio.h>
-#include <string.h>
#include <sys/ipc.h>
#include <sys/msg.h>
#include <sys/sem.h>
diff --git a/src/shared/condition.c b/src/shared/condition.c
index 5a5d35bcc3..53018cd601 100644
--- a/src/shared/condition.c
+++ b/src/shared/condition.c
@@ -5,7 +5,6 @@
#include <fnmatch.h>
#include <limits.h>
#include <stdlib.h>
-#include <string.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <sys/utsname.h>
diff --git a/src/shared/conf-parser.c b/src/shared/conf-parser.c
index ce714bcc8b..3269d83031 100644
--- a/src/shared/conf-parser.c
+++ b/src/shared/conf-parser.c
@@ -5,7 +5,6 @@
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
-#include <string.h>
#include <sys/types.h>
#include "alloc-util.h"
diff --git a/src/shared/dm-util.c b/src/shared/dm-util.c
index f73bf93520..d817e5b0e5 100644
--- a/src/shared/dm-util.c
+++ b/src/shared/dm-util.c
@@ -1,6 +1,5 @@
#include <fcntl.h>
#include <linux/dm-ioctl.h>
-#include <string.h>
#include <sys/ioctl.h>
#include "dm-util.h"
diff --git a/src/shared/dns-domain.c b/src/shared/dns-domain.c
index f62ad0a0f5..b812665315 100644
--- a/src/shared/dns-domain.c
+++ b/src/shared/dns-domain.c
@@ -10,7 +10,6 @@
#include <endian.h>
#include <netinet/in.h>
#include <stdio.h>
-#include <string.h>
#include <sys/socket.h>
#include "alloc-util.h"
diff --git a/src/shared/fstab-util.c b/src/shared/fstab-util.c
index 135b01f282..6b73e25f89 100644
--- a/src/shared/fstab-util.c
+++ b/src/shared/fstab-util.c
@@ -4,7 +4,6 @@
#include <mntent.h>
#include <stdio.h>
#include <stdlib.h>
-#include <string.h>
#include "alloc-util.h"
#include "device-nodes.h"
diff --git a/src/shared/import-util.c b/src/shared/import-util.c
index dad6c1c2fe..f7770e7df5 100644
--- a/src/shared/import-util.c
+++ b/src/shared/import-util.c
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
#include <errno.h>
-#include <string.h>
#include "alloc-util.h"
#include "btrfs-util.h"
diff --git a/src/shared/install-printf.c b/src/shared/install-printf.c
index d2143beda3..2061384afe 100644
--- a/src/shared/install-printf.c
+++ b/src/shared/install-printf.c
@@ -2,7 +2,6 @@
#include <errno.h>
#include <stdio.h>
-#include <string.h>
#include <unistd.h>
#include "format-util.h"
diff --git a/src/shared/install.c b/src/shared/install.c
index 0724dd96ee..193805b27e 100644
--- a/src/shared/install.c
+++ b/src/shared/install.c
@@ -8,7 +8,6 @@
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
-#include <string.h>
#include <sys/stat.h>
#include <unistd.h>
diff --git a/src/shared/json.c b/src/shared/json.c
index f1bb50cfa2..7393c100cd 100644
--- a/src/shared/json.c
+++ b/src/shared/json.c
@@ -5,7 +5,6 @@
#include <math.h>
#include <stdarg.h>
#include <stdlib.h>
-#include <string.h>
#include <sys/types.h>
#include "sd-messages.h"
diff --git a/src/shared/logs-show.c b/src/shared/logs-show.c
index b615c70dff..4f13e927b3 100644
--- a/src/shared/logs-show.c
+++ b/src/shared/logs-show.c
@@ -5,7 +5,6 @@
#include <signal.h>
#include <stdint.h>
#include <stdlib.h>
-#include <string.h>
#include <sys/socket.h>
#include <syslog.h>
#include <time.h>
diff --git a/src/shared/machine-image.c b/src/shared/machine-image.c
index cceed58f74..839f1f97aa 100644
--- a/src/shared/machine-image.c
+++ b/src/shared/machine-image.c
@@ -5,7 +5,6 @@
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
-#include <string.h>
#include <sys/file.h>
#include <sys/ioctl.h>
#include <sys/stat.h>
diff --git a/src/shared/mount-util.c b/src/shared/mount-util.c
index e55d3c2315..d316e81aa2 100644
--- a/src/shared/mount-util.c
+++ b/src/shared/mount-util.c
@@ -2,7 +2,6 @@
#include <errno.h>
#include <stdlib.h>
-#include <string.h>
#include <sys/mount.h>
#include <sys/stat.h>
#include <sys/statvfs.h>
diff --git a/src/shared/pager.c b/src/shared/pager.c
index 7c20b100b4..ad99c5206c 100644
--- a/src/shared/pager.c
+++ b/src/shared/pager.c
@@ -6,7 +6,6 @@
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
-#include <string.h>
#include <sys/prctl.h>
#include <unistd.h>
diff --git a/src/shared/path-lookup.c b/src/shared/path-lookup.c
index 6bf0ff0316..5b16209745 100644
--- a/src/shared/path-lookup.c
+++ b/src/shared/path-lookup.c
@@ -3,7 +3,6 @@
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
-#include <string.h>
#include "alloc-util.h"
#include "fs-util.h"
diff --git a/src/shared/sleep-config.c b/src/shared/sleep-config.c
index e8f61b36e9..f1ee8c10ec 100644
--- a/src/shared/sleep-config.c
+++ b/src/shared/sleep-config.c
@@ -9,7 +9,6 @@
#include <stdbool.h>
#include <stddef.h>
#include <stdio.h>
-#include <string.h>
#include <sys/ioctl.h>
#include <sys/stat.h>
#include <sys/types.h>
diff --git a/src/shared/specifier.c b/src/shared/specifier.c
index c8e789680d..b036ff67dd 100644
--- a/src/shared/specifier.c
+++ b/src/shared/specifier.c
@@ -4,7 +4,6 @@
#include <stdbool.h>
#include <stddef.h>
#include <stdlib.h>
-#include <string.h>
#include <sys/utsname.h>
#include "sd-id128.h"
diff --git a/src/shared/sysctl-util.c b/src/shared/sysctl-util.c
index 93bdcf11bf..12fb3ef7ea 100644
--- a/src/shared/sysctl-util.c
+++ b/src/shared/sysctl-util.c
@@ -3,7 +3,6 @@
#include <errno.h>
#include <fcntl.h>
#include <stdio.h>
-#include <string.h>
#include <unistd.h>
#include "fd-util.h"
diff --git a/src/shared/utmp-wtmp.c b/src/shared/utmp-wtmp.c
index 646f449821..fa4f32f353 100644
--- a/src/shared/utmp-wtmp.c
+++ b/src/shared/utmp-wtmp.c
@@ -6,7 +6,6 @@
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
-#include <string.h>
#include <sys/time.h>
#include <sys/utsname.h>
#include <unistd.h>
diff --git a/src/shared/verbs.c b/src/shared/verbs.c
index c87b496736..1d23ed48a2 100644
--- a/src/shared/verbs.c
+++ b/src/shared/verbs.c
@@ -4,7 +4,6 @@
#include <getopt.h>
#include <stdbool.h>
#include <stddef.h>
-#include <string.h>
#include "env-util.h"
#include "log.h"
diff --git a/src/shared/xml.c b/src/shared/xml.c
index 2709076264..78ac42f080 100644
--- a/src/shared/xml.c
+++ b/src/shared/xml.c
@@ -2,7 +2,6 @@
#include <errno.h>
#include <stddef.h>
-#include <string.h>
#include "macro.h"
#include "string-util.h"