From: Daniel Stenberg Date: Wed, 15 Aug 2001 18:33:52 +0000 (+0000) Subject: curl_getenv() now takes a const char * as argument X-Git-Tag: upstream/7.37.1~16448 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=97f3099ff60b5587fd2d81f0c91d41e283364565;p=platform%2Fupstream%2Fcurl.git curl_getenv() now takes a const char * as argument --- diff --git a/include/curl/curl.h b/include/curl/curl.h index ae75739..ec8d182 100644 --- a/include/curl/curl.h +++ b/include/curl/curl.h @@ -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);