Skip to content
Snippets Groups Projects
Commit b6c5da33 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

strdup() takes a const char * now

parent 9bc24e48
No related branches found
No related tags found
No related merge requests found
......@@ -72,7 +72,7 @@ void *curl_domalloc(size_t size, int line, char *source)
return mem;
}
char *curl_dostrdup(char *str, int line, char *source)
char *curl_dostrdup(const char *str, int line, char *source)
{
char *mem;
size_t len;
......
......@@ -7,7 +7,7 @@
void *curl_domalloc(size_t size, int line, char *source);
void *curl_dorealloc(void *ptr, size_t size, int line, char *source);
void curl_dofree(void *ptr, int line, char *source);
char *curl_dostrdup(char *str, int line, char *source);
char *curl_dostrdup(const char *str, int line, char *source);
void curl_memdebug(char *logname);
/* file descriptor manipulators */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment