← Commit list

c36416eb29

Viktor Szakats
Viktor Szakats
2025-12-16
SUCCESS Duration: 261s

Subject

getenv: drop internal 1-to-1 wrapper

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

lib/getenv.c+1 -6
@@ -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);
-}