From: Stefan Eissing Date: Tue, 15 Apr 2025 10:24:30 +0000 (+0200) Subject: dict: move internal defines to dict.c X-Git-Tag: curl-8_14_0~298 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ab5afbc3687fb1142148774d72c73060f4eb88f;p=thirdparty%2Fcurl.git dict: move internal defines to dict.c Move defines only used in dict.c from urldata.h to implementation. Closes #17060 --- diff --git a/lib/dict.c b/lib/dict.c index a853ab8060..b24fbb22cf 100644 --- a/lib/dict.c +++ b/lib/dict.c @@ -65,6 +65,15 @@ /* The last #include file should be: */ #include "memdebug.h" + +#define DICT_MATCH "/MATCH:" +#define DICT_MATCH2 "/M:" +#define DICT_MATCH3 "/FIND:" +#define DICT_DEFINE "/DEFINE:" +#define DICT_DEFINE2 "/D:" +#define DICT_DEFINE3 "/LOOKUP:" + + /* * Forward declarations. */ diff --git a/lib/urldata.h b/lib/urldata.h index 890b36297f..b662073f71 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -95,13 +95,6 @@ typedef unsigned int curl_prot_t; in the API */ #define CURLPROTO_MASK (0x3ffffff) -#define DICT_MATCH "/MATCH:" -#define DICT_MATCH2 "/M:" -#define DICT_MATCH3 "/FIND:" -#define DICT_DEFINE "/DEFINE:" -#define DICT_DEFINE2 "/D:" -#define DICT_DEFINE3 "/LOOKUP:" - #define CURL_DEFAULT_USER "anonymous" #define CURL_DEFAULT_PASSWORD "ftp@example.com"