From: Daniel Stenberg Date: Wed, 8 Sep 2021 12:42:35 +0000 (+0200) Subject: strerror.h: remove the #include from files not using it X-Git-Tag: curl-7_79_0~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe7b64228d553274f780ebc98a05a9ae266df828;p=thirdparty%2Fcurl.git strerror.h: remove the #include from files not using it --- diff --git a/lib/asyn-ares.c b/lib/asyn-ares.c index b3c7c521a7..763a4aaa0e 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 36f68cb493..149172ad3d 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 b25de1d417..f7d99ce9a6 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 bb110dee5d..117caa2957 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 ac92126d8c..1fd791015c 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 e2777c73d4..c2d5f08e32 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 550b43a085..c00c2744c4 100644 --- a/lib/hostsyn.c +++ b/lib/hostsyn.c @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2020, Daniel Stenberg, , et al. + * Copyright (C) 1998 - 2021, Daniel Stenberg, , 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 ab4d412ee3..359fc692e5 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 5fdd6f3e05..d7b5283e1e 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 1a3da15599..20dc85a5f2 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 c2ca8ef63e..3e317e87c9 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 5cbff0769a..a772f1f9b7 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 */