diff options
Diffstat (limited to 'lib/getenv.c')
-rw-r--r-- | lib/getenv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/getenv.c b/lib/getenv.c index 1a34f57f7..91f3f7bd7 100644 --- a/lib/getenv.c +++ b/lib/getenv.c @@ -38,7 +38,7 @@ #endif static -char *GetEnv(char *variable) +char *GetEnv(const char *variable) { #ifdef WIN32 /* This shit requires windows.h (HUGE) to be included */ @@ -62,7 +62,7 @@ char *GetEnv(char *variable) return (env && env[0])?strdup(env):NULL; } -char *curl_getenv(char *v) +char *curl_getenv(const char *v) { return GetEnv(v); } |