1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

curl_memdebug takes a const argument now

This commit is contained in:
Daniel Stenberg 2001-08-14 09:24:48 +00:00
parent 3a37c0ae23
commit 1a7e13e166
2 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,7 @@
FILE *logfile; FILE *logfile;
/* this sets the log file name */ /* this sets the log file name */
void curl_memdebug(char *logname) void curl_memdebug(const char *logname)
{ {
logfile = fopen(logname, "w"); logfile = fopen(logname, "w");
} }

View File

@ -11,7 +11,7 @@ void *curl_domalloc(size_t size, int line, const char *source);
void *curl_dorealloc(void *ptr, size_t size, int line, const char *source); void *curl_dorealloc(void *ptr, size_t size, int line, const char *source);
void curl_dofree(void *ptr, int line, const char *source); void curl_dofree(void *ptr, int line, const char *source);
char *curl_dostrdup(const char *str, int line, const char *source); char *curl_dostrdup(const char *str, int line, const char *source);
void curl_memdebug(char *logname); void curl_memdebug(const char *logname);
/* file descriptor manipulators */ /* file descriptor manipulators */
int curl_socket(int domain, int type, int protocol, int, const char *); int curl_socket(int domain, int type, int protocol, int, const char *);