aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-08-15 18:33:52 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-08-15 18:33:52 +0000
commit97f3099ff60b5587fd2d81f0c91d41e283364565 (patch)
treed18eca49e9869c8328cf4a43034215e0046f09fe
parent5a0a51a7accbc4c57f4172cc8ede5bd19ea64efd (diff)
curl_getenv() now takes a const char * as argument
-rw-r--r--include/curl/curl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h
index ae7573955..ec8d182b5 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);