summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2019-11-01 17:56:33 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2019-11-04 00:30:32 +0900
commita969d606453ec7c3fee25fb30c02be4c4e6e5206 (patch)
tree9a6cda1034ac23ba989df8ed1882b56c5a263884
parent99e0d097316be28a1f7bf49d0b71a308684a9a3b (diff)
downloadsystemd-a969d606453ec7c3fee25fb30c02be4c4e6e5206.tar.gz
tree-wide: drop locale.h when locale-util.h is included
-rw-r--r--src/analyze/analyze.c1
-rw-r--r--src/basic/locale-util.c1
-rw-r--r--src/basic/parse-util.c1
-rw-r--r--src/journal/journalctl.c1
-rw-r--r--src/locale/localectl.c1
-rw-r--r--src/machine/machinectl.c1
-rw-r--r--src/systemctl/systemctl.c1
7 files changed, 0 insertions, 7 deletions
diff --git a/src/analyze/analyze.c b/src/analyze/analyze.c
index 2d541fe701..9972941520 100644
--- a/src/analyze/analyze.c
+++ b/src/analyze/analyze.c
@@ -5,7 +5,6 @@
#include <getopt.h>
#include <inttypes.h>
-#include <locale.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
diff --git a/src/basic/locale-util.c b/src/basic/locale-util.c
index 29456521c9..b3c5805784 100644
--- a/src/basic/locale-util.c
+++ b/src/basic/locale-util.c
@@ -5,7 +5,6 @@
#include <ftw.h>
#include <langinfo.h>
#include <libintl.h>
-#include <locale.h>
#include <stddef.h>
#include <stdint.h>
#include <stdlib.h>
diff --git a/src/basic/parse-util.c b/src/basic/parse-util.c
index e36c6c7432..aec6099c9c 100644
--- a/src/basic/parse-util.c
+++ b/src/basic/parse-util.c
@@ -3,7 +3,6 @@
#include <errno.h>
#include <inttypes.h>
#include <linux/oom.h>
-#include <locale.h>
#include <net/if.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/src/journal/journalctl.c b/src/journal/journalctl.c
index 332270cc19..771c5c1730 100644
--- a/src/journal/journalctl.c
+++ b/src/journal/journalctl.c
@@ -5,7 +5,6 @@
#include <fnmatch.h>
#include <getopt.h>
#include <linux/fs.h>
-#include <locale.h>
#include <poll.h>
#include <signal.h>
#include <stddef.h>
diff --git a/src/locale/localectl.c b/src/locale/localectl.c
index 50c4c703f1..fb02bfd4a6 100644
--- a/src/locale/localectl.c
+++ b/src/locale/localectl.c
@@ -2,7 +2,6 @@
#include <ftw.h>
#include <getopt.h>
-#include <locale.h>
#include <stdbool.h>
#include <stdlib.h>
diff --git a/src/machine/machinectl.c b/src/machine/machinectl.c
index 4796f1ff4c..6dbdba12fd 100644
--- a/src/machine/machinectl.c
+++ b/src/machine/machinectl.c
@@ -4,7 +4,6 @@
#include <errno.h>
#include <fcntl.h>
#include <getopt.h>
-#include <locale.h>
#include <math.h>
#include <net/if.h>
#include <netinet/in.h>
diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c
index 3009951008..5b2d9d72e7 100644
--- a/src/systemctl/systemctl.c
+++ b/src/systemctl/systemctl.c
@@ -3,7 +3,6 @@
#include <errno.h>
#include <fcntl.h>
#include <getopt.h>
-#include <locale.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdio.h>