From: Daniel Stenberg Date: Fri, 14 Feb 2025 09:11:39 +0000 (+0100) Subject: lib: strtoofft.h header cleanup X-Git-Tag: curl-8_13_0~483 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=edd013326dca903ce660db046cbc3981f4d147dd;p=thirdparty%2Fcurl.git lib: strtoofft.h header cleanup Drop the include from five C files, add it to one. Closes #16331 --- diff --git a/lib/cf-h1-proxy.c b/lib/cf-h1-proxy.c index 9b75d086e5..7e87af4f67 100644 --- a/lib/cf-h1-proxy.c +++ b/lib/cf-h1-proxy.c @@ -44,6 +44,7 @@ #include "vtls/vtls.h" #include "transfer.h" #include "multiif.h" +#include "strtoofft.h" /* The last 3 #include files should be in this order */ #include "curl_printf.h" diff --git a/lib/file.c b/lib/file.c index 7751acf40f..40d950c0e0 100644 --- a/lib/file.c +++ b/lib/file.c @@ -58,7 +58,6 @@ #include #endif -#include "strtoofft.h" #include "urldata.h" #include #include "progress.h" diff --git a/lib/http2.c b/lib/http2.c index 821f2889dd..171de70b2c 100644 --- a/lib/http2.c +++ b/lib/http2.c @@ -43,7 +43,6 @@ #include "cfilters.h" #include "connect.h" #include "rand.h" -#include "strtoofft.h" #include "strdup.h" #include "transfer.h" #include "dynbuf.h" diff --git a/lib/pop3.c b/lib/pop3.c index 07c7dbac40..48a584e1cd 100644 --- a/lib/pop3.c +++ b/lib/pop3.c @@ -65,7 +65,6 @@ #include "http.h" /* for HTTP proxy tunnel stuff */ #include "socks.h" #include "pop3.h" -#include "strtoofft.h" #include "strcase.h" #include "vtls/vtls.h" #include "cfilters.h" diff --git a/lib/smtp.c b/lib/smtp.c index b763557a07..b6d42321b5 100644 --- a/lib/smtp.c +++ b/lib/smtp.c @@ -68,7 +68,6 @@ #include "mime.h" #include "socks.h" #include "smtp.h" -#include "strtoofft.h" #include "strcase.h" #include "vtls/vtls.h" #include "cfilters.h" diff --git a/lib/transfer.c b/lib/transfer.c index 742828a763..365005d02e 100644 --- a/lib/transfer.c +++ b/lib/transfer.c @@ -23,7 +23,6 @@ ***************************************************************************/ #include "curl_setup.h" -#include "strtoofft.h" #ifdef HAVE_NETINET_IN_H #include