]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
dict: move internal defines to dict.c
authorStefan Eissing <stefan@eissing.org>
Tue, 15 Apr 2025 10:24:30 +0000 (12:24 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 15 Apr 2025 15:30:02 +0000 (17:30 +0200)
Move defines only used in dict.c from urldata.h to implementation.

Closes #17060

lib/dict.c
lib/urldata.h

index a853ab8060402347ea08a7c32267e8a7384d163d..b24fbb22cf0a018b51693c8fdf06cc240f5c9980 100644 (file)
 /* 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.
  */
index 890b36297f7ecce23a0e685c942f811021a8f666..b662073f7186015d5f460a2c8cf8fbbbf9cd7f36 100644 (file)
@@ -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"