diff --git a/lib/getenv.c b/lib/getenv.c index 73c62d99cd..e10688adb3 100644 --- a/lib/getenv.c +++ b/lib/getenv.c @@ -26,7 +26,7 @@ #include -static char *GetEnv(const char *variable) +char *curl_getenv(const char *variable) { #if defined(CURL_WINDOWS_UWP) || \ defined(__ORBIS__) || defined(__PROSPERO__) /* PlayStation 4 and 5 */ @@ -70,8 +70,3 @@ static char *GetEnv(const char *variable) return (env && env[0]) ? curlx_strdup(env) : NULL; #endif } - -char *curl_getenv(const char *v) -{ - return GetEnv(v); -}