mirror of
https://github.com/curl/curl.git
synced 2026-08-24 18:23:33 +03:00
tidy-up: replace <memdebug.h> with "memdebug.h" (src, units)
Closes #17722
This commit is contained in:
parent
c0cb3485fe
commit
c4f9487089
38 changed files with 38 additions and 38 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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))
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -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: "
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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! */
|
||||
|
|
|
|||
|
|
@ -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. */
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue