summaryrefslogtreecommitdiff
path: root/lib/strdup.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2022-12-22 10:15:38 +0100
committerDaniel Stenberg <daniel@haxx.se>2022-12-22 14:31:37 +0100
commite4505a1915f1bfae71b06636f0690fae2c53c78e (patch)
treee8e0526c712d50bebecb1cdfdac9ba29c924def9 /lib/strdup.h
parent72b819f14792f350e90a7b7341d41701e36c0557 (diff)
downloadcurl-e4505a1915f1bfae71b06636f0690fae2c53c78e.tar.gz
strdup: name it Curl_strdup
It does not belong in the curlx_ name space as it is never used externally. Closes #10132
Diffstat (limited to 'lib/strdup.h')
-rw-r--r--lib/strdup.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/strdup.h b/lib/strdup.h
index fb46808b8..609911f63 100644
--- a/lib/strdup.h
+++ b/lib/strdup.h
@@ -26,7 +26,7 @@
#include "curl_setup.h"
#ifndef HAVE_STRDUP
-extern char *curlx_strdup(const char *str);
+char *Curl_strdup(const char *str);
#endif
#ifdef WIN32
wchar_t* Curl_wcsdup(const wchar_t* src);