added const to the function protos

This commit is contained in:
Daniel Stenberg 2001-08-14 08:25:47 +00:00
parent 9fa464aa94
commit 9a7fc9ce3a
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}