Skip to content
Snippets Groups Projects
Commit 9a7fc9ce authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

added const to the function protos

parent 9fa464aa
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment