summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-09-08 14:42:35 +0200
committerDaniel Stenberg <daniel@haxx.se>2021-09-09 07:53:42 +0200
commitfe7b64228d553274f780ebc98a05a9ae266df828 (patch)
tree322a337b8e153184c187e2859cfd41cbe8203839
parent2f0bb864c126892afc822e0cf5547d7ea5094212 (diff)
downloadcurl-fe7b64228d553274f780ebc98a05a9ae266df828.tar.gz
strerror.h: remove the #include from files not using it
-rw-r--r--lib/asyn-ares.c1
-rw-r--r--lib/asyn-thread.c1
-rw-r--r--lib/hostasyn.c1
-rw-r--r--lib/hostip.c1
-rw-r--r--lib/hostip4.c1
-rw-r--r--lib/hostip6.c1
-rw-r--r--lib/hostsyn.c3
-rw-r--r--lib/imap.c1
-rw-r--r--lib/pop3.c1
-rw-r--r--lib/smtp.c1
-rw-r--r--lib/vssh/libssh.c1
-rw-r--r--lib/vssh/libssh2.c1
12 files changed, 1 insertions, 13 deletions
diff --git a/lib/asyn-ares.c b/lib/asyn-ares.c
index b3c7c521a..763a4aaa0 100644
--- a/lib/asyn-ares.c
+++ b/lib/asyn-ares.c
@@ -59,7 +59,6 @@
#include "hostip.h"
#include "hash.h"
#include "share.h"
-#include "strerror.h"
#include "url.h"
#include "multiif.h"
#include "inet_pton.h"
diff --git a/lib/asyn-thread.c b/lib/asyn-thread.c
index 36f68cb49..149172ad3 100644
--- a/lib/asyn-thread.c
+++ b/lib/asyn-thread.c
@@ -68,7 +68,6 @@
#include "hostip.h"
#include "hash.h"
#include "share.h"
-#include "strerror.h"
#include "url.h"
#include "multiif.h"
#include "inet_ntop.h"
diff --git a/lib/hostasyn.c b/lib/hostasyn.c
index b25de1d41..f7d99ce9a 100644
--- a/lib/hostasyn.c
+++ b/lib/hostasyn.c
@@ -50,7 +50,6 @@
#include "hostip.h"
#include "hash.h"
#include "share.h"
-#include "strerror.h"
#include "url.h"
#include "curl_memory.h"
/* The last #include file should be: */
diff --git a/lib/hostip.c b/lib/hostip.c
index bb110dee5..117caa295 100644
--- a/lib/hostip.c
+++ b/lib/hostip.c
@@ -56,7 +56,6 @@
#include "hash.h"
#include "rand.h"
#include "share.h"
-#include "strerror.h"
#include "url.h"
#include "inet_ntop.h"
#include "inet_pton.h"
diff --git a/lib/hostip4.c b/lib/hostip4.c
index ac92126d8..1fd791015 100644
--- a/lib/hostip4.c
+++ b/lib/hostip4.c
@@ -50,7 +50,6 @@
#include "hostip.h"
#include "hash.h"
#include "share.h"
-#include "strerror.h"
#include "url.h"
/* The last 3 #include files should be in this order */
#include "curl_printf.h"
diff --git a/lib/hostip6.c b/lib/hostip6.c
index e2777c73d..c2d5f08e3 100644
--- a/lib/hostip6.c
+++ b/lib/hostip6.c
@@ -50,7 +50,6 @@
#include "hostip.h"
#include "hash.h"
#include "share.h"
-#include "strerror.h"
#include "url.h"
#include "inet_pton.h"
#include "connect.h"
diff --git a/lib/hostsyn.c b/lib/hostsyn.c
index 550b43a08..c00c2744c 100644
--- a/lib/hostsyn.c
+++ b/lib/hostsyn.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -50,7 +50,6 @@
#include "hostip.h"
#include "hash.h"
#include "share.h"
-#include "strerror.h"
#include "url.h"
#include "curl_memory.h"
/* The last #include file should be: */
diff --git a/lib/imap.c b/lib/imap.c
index ab4d412ee..359fc692e 100644
--- a/lib/imap.c
+++ b/lib/imap.c
@@ -74,7 +74,6 @@
#include "strcase.h"
#include "vtls/vtls.h"
#include "connect.h"
-#include "strerror.h"
#include "select.h"
#include "multiif.h"
#include "url.h"
diff --git a/lib/pop3.c b/lib/pop3.c
index 5fdd6f3e0..d7b5283e1 100644
--- a/lib/pop3.c
+++ b/lib/pop3.c
@@ -75,7 +75,6 @@
#include "strcase.h"
#include "vtls/vtls.h"
#include "connect.h"
-#include "strerror.h"
#include "select.h"
#include "multiif.h"
#include "url.h"
diff --git a/lib/smtp.c b/lib/smtp.c
index 1a3da1559..20dc85a5f 100644
--- a/lib/smtp.c
+++ b/lib/smtp.c
@@ -78,7 +78,6 @@
#include "strcase.h"
#include "vtls/vtls.h"
#include "connect.h"
-#include "strerror.h"
#include "select.h"
#include "multiif.h"
#include "url.h"
diff --git a/lib/vssh/libssh.c b/lib/vssh/libssh.c
index c2ca8ef63..3e317e87c 100644
--- a/lib/vssh/libssh.c
+++ b/lib/vssh/libssh.c
@@ -74,7 +74,6 @@
#include "strcase.h"
#include "vtls/vtls.h"
#include "connect.h"
-#include "strerror.h"
#include "inet_ntop.h"
#include "parsedate.h" /* for the week day and month names */
#include "sockaddr.h" /* required for Curl_sockaddr_storage */
diff --git a/lib/vssh/libssh2.c b/lib/vssh/libssh2.c
index 5cbff0769..a772f1f9b 100644
--- a/lib/vssh/libssh2.c
+++ b/lib/vssh/libssh2.c
@@ -73,7 +73,6 @@
#include "strcase.h"
#include "vtls/vtls.h"
#include "connect.h"
-#include "strerror.h"
#include "inet_ntop.h"
#include "parsedate.h" /* for the week day and month names */
#include "sockaddr.h" /* required for Curl_sockaddr_storage */