dict: move internal defines to dict.c

Move defines only used in dict.c from urldata.h to implementation.

Closes #17060
This commit is contained in:
Stefan Eissing 2025-04-15 12:24:30 +02:00 committed by Daniel Stenberg
parent a5be8e2c3f
commit 6ab5afbc36
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
2 changed files with 9 additions and 7 deletions

View File

@ -65,6 +65,15 @@
/* The last #include file should be: */ /* The last #include file should be: */
#include "memdebug.h" #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. * Forward declarations.
*/ */

View File

@ -95,13 +95,6 @@ typedef unsigned int curl_prot_t;
in the API */ in the API */
#define CURLPROTO_MASK (0x3ffffff) #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_USER "anonymous"
#define CURL_DEFAULT_PASSWORD "ftp@example.com" #define CURL_DEFAULT_PASSWORD "ftp@example.com"