tidy-up: replace <memdebug.h> with "memdebug.h" (src, units)

Closes #17722
This commit is contained in:
Viktor Szakats 2025-06-23 16:53:33 +02:00
parent c0cb3485fe
commit c4f9487089
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
38 changed files with 38 additions and 38 deletions

View 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

View 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>

View 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

View 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,

View 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);

View 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

View 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

View 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

View 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

View 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)
{

View 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))

View 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

View 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 */

View 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;

View 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,

View 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

View 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 */

View 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;

View 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.

View 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)

View 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 */

View 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
/*

View 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: "

View 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

View 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)
{

View 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)
{

View 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! */

View 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. */

View 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;

View 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

View 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

View 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);

View 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,

View 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

View file

@ -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 */

View 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)
{

View 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;

View 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)
{