curl_getenv() now takes a const char * as argument
authorDaniel Stenberg <daniel@haxx.se>
Wed, 15 Aug 2001 18:33:52 +0000 (18:33 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 15 Aug 2001 18:33:52 +0000 (18:33 +0000)
include/curl/curl.h

index ae75739..ec8d182 100644 (file)
@@ -493,7 +493,7 @@ void curl_formfree(struct HttpPost *form);
 
 /* Unix and Win32 getenv function call, this returns a malloc()'ed string that
    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. */
 char *curl_version(void);