From 888e77e8c2700512640c80e3072bca8044fa9795 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 8 Sep 2021 14:42:35 +0200 Subject: strerror.h: remove the #include from files not using it --- lib/asyn-ares.c | 1 - lib/asyn-thread.c | 1 - lib/hostasyn.c | 1 - lib/hostip.c | 1 - lib/hostip4.c | 1 - lib/hostip6.c | 1 - lib/hostsyn.c | 3 +-- lib/imap.c | 1 - lib/pop3.c | 1 - lib/smtp.c | 1 - lib/vssh/libssh.c | 1 - lib/vssh/libssh2.c | 1 - 12 files changed, 1 insertion(+), 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, , 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 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 */ -- cgit v1.2.1