getenv: drop internal 1-to-1 wrapper

Closes #19984
This commit is contained in:
Viktor Szakats 2025-12-15 13:19:30 +01:00
parent 9570fa7908
commit c36416eb29
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201

View file

@ -26,7 +26,7 @@
#include <curl/curl.h>
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);
}