mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
added const to the function protos
This commit is contained in:
parent
9fa464aa94
commit
9a7fc9ce3a
@ -38,7 +38,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
static
|
static
|
||||||
char *GetEnv(char *variable)
|
char *GetEnv(const char *variable)
|
||||||
{
|
{
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
/* This shit requires windows.h (HUGE) to be included */
|
/* This shit requires windows.h (HUGE) to be included */
|
||||||
@ -62,7 +62,7 @@ char *GetEnv(char *variable)
|
|||||||
return (env && env[0])?strdup(env):NULL;
|
return (env && env[0])?strdup(env):NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
char *curl_getenv(char *v)
|
char *curl_getenv(const char *v)
|
||||||
{
|
{
|
||||||
return GetEnv(v);
|
return GetEnv(v);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user