summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2019-11-01 17:56:05 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2019-11-04 00:30:32 +0900
commit99e0d097316be28a1f7bf49d0b71a308684a9a3b (patch)
tree21e244099566c8bd9ef24f1fcc85230f993e1e86
parent996f7e1cd01b7d0c9c21722cf99ff118dec9d252 (diff)
downloadsystemd-99e0d097316be28a1f7bf49d0b71a308684a9a3b.tar.gz
systemd-99e0d097316be28a1f7bf49d0b71a308684a9a3b.tar.bz2
systemd-99e0d097316be28a1f7bf49d0b71a308684a9a3b.zip
tree-wide: drop glob.h when glob-util.h is included
-rw-r--r--src/basic/glob-util.c1
-rw-r--r--src/core/execute.c1
-rw-r--r--src/resolve/test-dns-packet.c1
-rw-r--r--src/test/test-glob-util.c1
-rw-r--r--src/tmpfiles/tmpfiles.c1
5 files changed, 0 insertions, 5 deletions
diff --git a/src/basic/glob-util.c b/src/basic/glob-util.c
index 31386854c1..e3aa6c2e15 100644
--- a/src/basic/glob-util.c
+++ b/src/basic/glob-util.c
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
#include <errno.h>
-#include <glob.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
diff --git a/src/core/execute.c b/src/core/execute.c
index 22817806c0..b9a59fe0a1 100644
--- a/src/core/execute.c
+++ b/src/core/execute.c
@@ -2,7 +2,6 @@
#include <errno.h>
#include <fcntl.h>
-#include <glob.h>
#include <grp.h>
#include <poll.h>
#include <signal.h>
diff --git a/src/resolve/test-dns-packet.c b/src/resolve/test-dns-packet.c
index f6df9135ee..7c6346cb66 100644
--- a/src/resolve/test-dns-packet.c
+++ b/src/resolve/test-dns-packet.c
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
#include <net/if.h>
-#include <glob.h>
#include "sd-id128.h"
diff --git a/src/test/test-glob-util.c b/src/test/test-glob-util.c
index b4f41445fe..667d15335f 100644
--- a/src/test/test-glob-util.c
+++ b/src/test/test-glob-util.c
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
#include <fcntl.h>
-#include <glob.h>
#include <sys/stat.h>
#include <unistd.h>
diff --git a/src/tmpfiles/tmpfiles.c b/src/tmpfiles/tmpfiles.c
index 8c0fae3458..fbb8e00f02 100644
--- a/src/tmpfiles/tmpfiles.c
+++ b/src/tmpfiles/tmpfiles.c
@@ -4,7 +4,6 @@
#include <fcntl.h>
#include <fnmatch.h>
#include <getopt.h>
-#include <glob.h>
#include <limits.h>
#include <linux/fs.h>
#include <stdbool.h>