mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
curl_getenv() now takes a const char * as argument
This commit is contained in:
parent
5a0a51a7ac
commit
97f3099ff6
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user