Commit 97f3099f authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

curl_getenv() now takes a const char * as argument

parent 5a0a51a7
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -493,7 +493,7 @@ void curl_formfree(struct HttpPost *form);


/* Unix and Win32 getenv function call, this returns a malloc()'ed string that
/* Unix and Win32 getenv function call, this returns a malloc()'ed string that
   MUST be free()ed after usage is complete. */
   MUST be free()ed after usage is complete. */
char *curl_getenv(char *variable);
char *curl_getenv(const char *variable);


/* Returns a static ascii string of the libcurl version. */
/* Returns a static ascii string of the libcurl version. */
char *curl_version(void);
char *curl_version(void);