]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
tidy-up: replace `<memdebug.h>` with `"memdebug.h"` (src, units)
authorViktor Szakats <commit@vsz.me>
Mon, 23 Jun 2025 14:53:33 +0000 (16:53 +0200)
committerViktor Szakats <commit@vsz.me>
Tue, 24 Jun 2025 07:44:28 +0000 (09:44 +0200)
Closes #17722

38 files changed:
src/slist_wc.c
src/terminal.c
src/tool_bname.c
src/tool_cb_dbg.c
src/tool_cb_hdr.c
src/tool_cb_prg.c
src/tool_cb_rea.c
src/tool_cb_see.c
src/tool_cb_wrt.c
src/tool_cfgable.c
src/tool_dirhie.c
src/tool_doswin.c
src/tool_easysrc.c
src/tool_findfile.c
src/tool_formparse.c
src/tool_getparam.c
src/tool_getpass.c
src/tool_help.c
src/tool_helpers.c
src/tool_ipfs.c
src/tool_libinfo.c
src/tool_main.c
src/tool_msgs.c
src/tool_operate.c
src/tool_operhlp.c
src/tool_paramhlp.c
src/tool_parsecfg.c
src/tool_setopt.c
src/tool_stderr.c
src/tool_urlglob.c
src/tool_util.c
src/tool_vms.c
src/tool_writeout.c
src/tool_xattr.c
src/var.c
tests/unit/unit1602.c
tests/unit/unit1603.c
tests/unit/unit1616.c

index 41c944d94b95d02557dfc7a9dee977f018c373d2..7f1e8f19be8d1f26e15c0ecab2d46633750830ed 100644 (file)
@@ -29,7 +29,7 @@
 #include "slist_wc.h"
 
 /* The last #include files should be: */
-#include <memdebug.h>
+#include "memdebug.h"
 
 /*
  * slist_wc_append() appends a string to the linked list. This function can be
index ccd5bbf62a7d9cb14d35658f1a724329c0abb8b4..0150cd4a56ca69511fe0200f602d05b9c80875d7 100644 (file)
@@ -28,7 +28,7 @@
 #endif
 
 #include "terminal.h"
-#include <memdebug.h> /* keep this as LAST include */
+#include "memdebug.h" /* keep this as LAST include */
 
 #ifdef HAVE_TERMIOS_H
 #  include <termios.h>
index 62dbcf2ed51217cfdbd0827d07143ca09fb9213b..4ba1a3b8eeac33b9676bb33f35f870506e4c0f19 100644 (file)
@@ -25,7 +25,7 @@
 
 #include "tool_bname.h"
 
-#include <memdebug.h> /* keep this as LAST include */
+#include "memdebug.h" /* keep this as LAST include */
 
 #ifndef HAVE_BASENAME
 
index b9504f58252591f17594a2d4499097204abcfcf7..220ac576dbc270cb07bd492a105ee79661d01761 100644 (file)
@@ -28,7 +28,7 @@
 #include "tool_cb_dbg.h"
 #include "tool_util.h"
 
-#include <memdebug.h> /* keep this as LAST include */
+#include "memdebug.h" /* keep this as LAST include */
 
 static void dump(const char *timebuf, const char *idsbuf, const char *text,
                  FILE *stream, const unsigned char *ptr, size_t size,
index 41d8b80d761e474791c2d427788821d1aac1938c..e27ec0adf7464d0c9de0348cb827ec0eb79b0d42 100644 (file)
@@ -35,7 +35,7 @@
 #include "tool_operate.h"
 #include "tool_libinfo.h"
 
-#include <memdebug.h> /* keep this as LAST include */
+#include "memdebug.h" /* keep this as LAST include */
 
 static char *parse_filename(const char *ptr, size_t len);
 
index e4e3a709a08c26a6fc75ae3682b35aa6f257a9dd..c6ee6b2822f702cce28df0979deab0ae3172fccb 100644 (file)
@@ -29,7 +29,7 @@
 #include "tool_operate.h"
 #include "terminal.h"
 
-#include <memdebug.h> /* keep this as LAST include */
+#include "memdebug.h" /* keep this as LAST include */
 
 #define MAX_BARLENGTH 400
 #define MIN_BARLENGTH 20
index eb2717f71f3476d45e0e1f35136ed42960a9840b..18b8d7b47aeea7360fbd5e4224b5c8320940f98d 100644 (file)
@@ -33,7 +33,7 @@
 #include "tool_util.h"
 #include "tool_msgs.h"
 
-#include <memdebug.h> /* keep this as LAST include */
+#include "memdebug.h" /* keep this as LAST include */
 
 /*
 ** callback for CURLOPT_READFUNCTION
index ca6091f86bf0f41698004b3e7002a7eb4e348306..68899c582950d0e894e9f87f14a67be6765e5977 100644 (file)
@@ -27,7 +27,7 @@
 #include "tool_operate.h"
 #include "tool_cb_see.h"
 
-#include <memdebug.h> /* keep this as LAST include */
+#include "memdebug.h" /* keep this as LAST include */
 
 /*
 ** callback for CURLOPT_SEEKFUNCTION
index 8f39cae1026783968538247c005a7214520c0401..9babd54cf70a4fcc3e368eee43fbbcdef0ffe526 100644 (file)
@@ -35,7 +35,7 @@
 #include "tool_cb_wrt.h"
 #include "tool_operate.h"
 
-#include <memdebug.h> /* keep this as LAST include */
+#include "memdebug.h" /* keep this as LAST include */
 
 #ifdef _WIN32
 #define OPENMODE S_IREAD | S_IWRITE
index 0d2b80a1a7b86d9222ef186a939be7464919459e..f3839b90b624c3b10cbdd26c62e57740e94ef0c7 100644 (file)
@@ -27,7 +27,7 @@
 #include "tool_formparse.h"
 #include "tool_paramhlp.h"
 #include "tool_main.h"
-#include <memdebug.h> /* keep this as LAST include */
+#include "memdebug.h" /* keep this as LAST include */
 
 void config_init(struct OperationConfig *config)
 {
index 6d0dac01c31b72fb7c78de6ad06f1837425abaa0..de4bdcef647f10ed37273e9fd1dd1251df5dcf00 100644 (file)
@@ -32,7 +32,7 @@
 #include "tool_dirhie.h"
 #include "tool_msgs.h"
 
-#include <memdebug.h> /* keep this as LAST include */
+#include "memdebug.h" /* keep this as LAST include */
 
 #if defined(_WIN32) || (defined(MSDOS) && !defined(__DJGPP__))
 #  define mkdir(x,y) (mkdir)((x))
index 58508603f1324e2052ec334d45ef422f38ca788b..07a85bc111b32235a1d08c7007629c700622402e 100644 (file)
@@ -40,7 +40,7 @@
 #include "tool_doswin.h"
 #include "tool_msgs.h"
 
-#include <memdebug.h> /* keep this as LAST include */
+#include "memdebug.h" /* keep this as LAST include */
 
 #ifdef _WIN32
 #  undef  PATH_MAX
index 432e614d1c0a2ecccdfcc382c154afe01aa3ef17..9092bd9f34bd2142f576a1c3e6321c540e51b043 100644 (file)
@@ -31,7 +31,7 @@
 #include "tool_easysrc.h"
 #include "tool_msgs.h"
 
-#include <memdebug.h> /* keep this as LAST include */
+#include "memdebug.h" /* keep this as LAST include */
 
 /* global variable definitions, for easy-interface source code generation */
 
index 20d2c0bd93ddc4cfce7a0ca38b087f93920afe8f..4b09d0f708a114770fc26fa86d7cc7fd7a22c96b 100644 (file)
@@ -39,7 +39,7 @@
 #include "tool_findfile.h"
 #include "tool_cfgable.h"
 
-#include <memdebug.h> /* keep this as LAST include */
+#include "memdebug.h" /* keep this as LAST include */
 
 struct finder {
   const char *env;
index b3a12edf2be2ed44034345b0adaa05ad8cbecbaf..d656a7ae6d5ffc81b93c1ceec3ced209c7a6914b 100644 (file)
@@ -29,7 +29,7 @@
 #include "tool_paramhlp.h"
 #include "tool_formparse.h"
 
-#include <memdebug.h> /* keep this as LAST include */
+#include "memdebug.h" /* keep this as LAST include */
 
 /* tool_mime functions. */
 static struct tool_mime *tool_mime_new(struct tool_mime *parent,
index f453d90b03a7266b0426b9d68da1fa5f2caf1144..0770c4000d1189e673213e21fe79bb43b02309ff 100644 (file)
@@ -38,7 +38,7 @@
 #include "tool_help.h"
 #include "var.h"
 
-#include <memdebug.h> /* keep this as LAST include */
+#include "memdebug.h" /* keep this as LAST include */
 
 #define ALLOW_BLANK TRUE
 #define DENY_BLANK FALSE
index bb0692083d2275e8eaf952798870c474fa5c0f9c..eea46fb52672b916447d140474feb06216b22a6d 100644 (file)
@@ -55,7 +55,7 @@
 #endif
 #include "tool_getpass.h"
 
-#include <memdebug.h> /* keep this as LAST include */
+#include "memdebug.h" /* keep this as LAST include */
 
 #ifdef __VMS
 /* VMS implementation */
index 3ccb15ab72a5384178e81a6d6933f5d7058c4ca8..3cdd522c29d862350ef5f0555907d1aaf96ccfd4 100644 (file)
@@ -33,7 +33,7 @@
 #include "tool_cfgable.h"
 #include "terminal.h"
 
-#include <memdebug.h> /* keep this as LAST include */
+#include "memdebug.h" /* keep this as LAST include */
 
 struct category_descriptors {
   const char *opt;
index 7a9ccb4d3589287813d09962243166cb7a0e0349..ec56712086335f42d73423780d421d300cced6a7 100644 (file)
@@ -27,7 +27,7 @@
 #include "tool_msgs.h"
 #include "tool_getparam.h"
 #include "tool_helpers.h"
-#include <memdebug.h> /* keep this as LAST include */
+#include "memdebug.h" /* keep this as LAST include */
 
 /*
 ** Helper functions that are used from more than one source file.
index b96a7e4dd6ef55a630b1f5536d4527a5536b937d..06c45cb572e0b4c09cf110d88804d494599177ac 100644 (file)
@@ -28,7 +28,7 @@
 #include "tool_cfgable.h"
 #include "tool_msgs.h"
 #include "tool_ipfs.h"
-#include <memdebug.h> /* keep this as LAST include */
+#include "memdebug.h" /* keep this as LAST include */
 
 /* ensure input ends in slash */
 static CURLcode ensure_trailing_slash(char **input)
index a1888c00a2c217f50cb4bd2d8fc01e643710bc6d..d755532652c8390ef4ccda60c688d48e83aee6f2 100644 (file)
@@ -24,7 +24,7 @@
 #include "tool_setup.h"
 
 #include "tool_libinfo.h"
-#include <memdebug.h> /* keep this as LAST include */
+#include "memdebug.h" /* keep this as LAST include */
 
 /* global variable definitions, for libcurl runtime info */
 
index 5f453a32d783449176674443fdd55bc75d341453..6c994d971f30750d2174183f09db66471fb04334 100644 (file)
@@ -51,7 +51,7 @@
  * the library level code from this client-side is ugly, but we do this
  * anyway for convenience.
  */
-#include <memdebug.h> /* keep this as LAST include */
+#include "memdebug.h" /* keep this as LAST include */
 
 #ifdef __VMS
 /*
index 026c77a465b79e7f08f40524f273d904dfe78e8c..ffd0945f76fb8b0c906b1009a564f44ece189b3a 100644 (file)
@@ -28,7 +28,7 @@
 #include "tool_cb_prg.h"
 #include "terminal.h"
 
-#include <memdebug.h> /* keep this as LAST include */
+#include "memdebug.h" /* keep this as LAST include */
 
 #define WARN_PREFIX "Warning: "
 #define NOTE_PREFIX "Note: "
index 3fbe85ee3bc2c8be84cacf82d6ca60d74d56fb6d..bd25e99c40e3dff3d7972432873118bbfc816bba 100644 (file)
@@ -94,7 +94,7 @@
 CURL_EXTERN CURLcode curl_easy_perform_ev(CURL *easy);
 #endif
 
-#include <memdebug.h> /* keep this as LAST include */
+#include "memdebug.h" /* keep this as LAST include */
 
 #ifdef CURL_CA_EMBED
 #ifndef CURL_DECLARED_CURL_CA_EMBED
index a9571e881f101546033b21621482acc5869c0a90..93904bbe16e4c5da903b9ab4be89650273453b53 100644 (file)
@@ -28,7 +28,7 @@
 #include "tool_doswin.h"
 #include "tool_operhlp.h"
 #include "tool_msgs.h"
-#include <memdebug.h> /* keep this as LAST include */
+#include "memdebug.h" /* keep this as LAST include */
 
 void clean_getout(struct OperationConfig *config)
 {
index 5b819a741358d76c495d20adc58b7ab7f8096ae3..74d338b779bcd9918410689591391dd73509e354 100644 (file)
@@ -32,7 +32,7 @@
 #include "tool_util.h"
 #include "tool_version.h"
 
-#include <memdebug.h> /* keep this as LAST include */
+#include "memdebug.h" /* keep this as LAST include */
 
 struct getout *new_getout(struct OperationConfig *config)
 {
index defadc0da0efda05e1c6df83c4dc214ec54b8164..d9dfd55b50121074e804b91b6e8e3919bb38aafd 100644 (file)
@@ -30,7 +30,7 @@
 #include "tool_msgs.h"
 #include "tool_parsecfg.h"
 #include "tool_util.h"
-#include <memdebug.h> /* keep this as LAST include */
+#include "memdebug.h" /* keep this as LAST include */
 
 /* only acknowledge colon or equals as separators if the option was not
    specified with an initial dash! */
index f29183425cfdd700ba610ce2730d3c4d19fb874d..4d31a6f89115056d78bb0656ada20ad7943395b2 100644 (file)
@@ -29,7 +29,7 @@
 #include "tool_easysrc.h"
 #include "tool_setopt.h"
 #include "tool_msgs.h"
-#include <memdebug.h> /* keep this as LAST include */
+#include "memdebug.h" /* keep this as LAST include */
 
 /* Lookup tables for converting setopt values back to symbols */
 /* For enums, values may be in any order. */
index 1285f04a8ed65a0e0b2ff51b351ec8416fbc5aed..602da613a055c722c7c0f88d4a4d0722e93bb284 100644 (file)
@@ -26,7 +26,7 @@
 #include "tool_stderr.h"
 #include "tool_msgs.h"
 
-#include <memdebug.h> /* keep this as LAST include */
+#include "memdebug.h" /* keep this as LAST include */
 
 FILE *tool_stderr;
 
index 40d69a4b66052aa229190ecc3a10dc9b0dac74ea..29c4119cd71a4f219954e6cdc75d311c9e67e0d2 100644 (file)
@@ -27,7 +27,7 @@
 #include "tool_doswin.h"
 #include "tool_urlglob.h"
 #include "tool_vms.h"
-#include <memdebug.h> /* keep this as LAST include */
+#include "memdebug.h" /* keep this as LAST include */
 
 #define GLOBERROR(string, column, code) \
   glob->error = string, glob->pos = column, code
index e6188cecb0f147f8380a13f72de9dc586f370c2e..e7ab704f120bded3f8a61dc83ec91079605457a7 100644 (file)
@@ -24,7 +24,7 @@
 #include "tool_setup.h"
 
 #include "tool_util.h"
-#include <memdebug.h> /* keep this as LAST include */
+#include "memdebug.h" /* keep this as LAST include */
 
 #ifdef _WIN32
 
index ecf01eb5b263569495dc1ba9b1c45cb4ca1a38ff..143b2f0d5367781dd98381e28d0470a813f9f9c9 100644 (file)
@@ -32,7 +32,7 @@
 
 #include "curlmsg_vms.h"
 #include "tool_vms.h"
-#include <memdebug.h> /* keep this as LAST include */
+#include "memdebug.h" /* keep this as LAST include */
 
 void decc$__posix_exit(int __status);
 void decc$exit(int __status);
index 9036c140442d90d40dea03619bdb0c9d4f76fbb8..d348714299bfbb2767b0a481e7619c2b3c25fe12 100644 (file)
@@ -26,7 +26,7 @@
 #include "tool_cfgable.h"
 #include "tool_writeout.h"
 #include "tool_writeout_json.h"
-#include <memdebug.h> /* keep this as LAST include */
+#include "memdebug.h" /* keep this as LAST include */
 
 static int writeTime(FILE *stream, const struct writeoutvar *wovar,
                      struct per_transfer *per, CURLcode per_result,
index ee35d4d464415e5dcfa792b0067da515938541ed..346c805a4052dd9d26b57b8f99dd7afb321ec37d 100644 (file)
@@ -24,7 +24,7 @@
 #include "tool_setup.h"
 #include "tool_xattr.h"
 
-#include <memdebug.h> /* keep this as LAST include */
+#include "memdebug.h" /* keep this as LAST include */
 
 #ifdef USE_XATTR
 
index 01ea03918e12000acc8414788c78da802d9cc0cf..b2fc835fbdfb790afcf9f0e26fc0557b0201923e 100644 (file)
--- a/src/var.c
+++ b/src/var.c
@@ -32,7 +32,7 @@
 #include "tool_paramhlp.h"
 #include "tool_writeout_json.h"
 #include "var.h"
-#include <memdebug.h> /* keep this as LAST include */
+#include "memdebug.h" /* keep this as LAST include */
 
 #define MAX_EXPAND_CONTENT 10000000
 #define MAX_VAR_LEN 128 /* max length of a name */
index 126cf8d80656c7fef5e747155087e2eab1729086..0bd2bbc5116ddb737cd0b6b4f26f88fa155b3dbd 100644 (file)
@@ -25,7 +25,7 @@
 
 #include "hash.h"
 
-#include <memdebug.h> /* LAST include file */
+#include "memdebug.h" /* LAST include file */
 
 static void t1602_mydtor(void *p)
 {
index c3f99b6ca2705aad9e63d7a3176b7874ebd5d394..054b718999621b68aff08e6b1fb66a8b4bf04ae4 100644 (file)
@@ -25,7 +25,7 @@
 
 #include "hash.h"
 
-#include <memdebug.h> /* LAST include file */
+#include "memdebug.h" /* LAST include file */
 
 static const size_t slots = 3;
 
index 8040809a3e88dcbda21ea2a064005e034615d23d..5d03c274e7394fc82252843fa67c6d60a8afa7c6 100644 (file)
@@ -25,7 +25,7 @@
 
 #include "uint-hash.h"
 
-#include <memdebug.h> /* LAST include file */
+#include "memdebug.h" /* LAST include file */
 
 static void t1616_mydtor(unsigned int id, void *elem)
 {