From b6c5da337aa6648bf9f39cd15f97123e64b4a91f Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 2 Mar 2001 07:41:40 +0000 Subject: strdup() takes a const char * now --- lib/memdebug.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/memdebug.h') diff --git a/lib/memdebug.h b/lib/memdebug.h index 58657c35d..fc9a3222a 100644 --- a/lib/memdebug.h +++ b/lib/memdebug.h @@ -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 */ -- cgit v1.2.1