projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9fa464a
)
added const to the function protos
author
Daniel Stenberg
<daniel@haxx.se>
Tue, 14 Aug 2001 08:25:47 +0000
(08:25 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Tue, 14 Aug 2001 08:25:47 +0000
(08:25 +0000)
lib/getenv.c
patch
|
blob
|
history
diff --git
a/lib/getenv.c
b/lib/getenv.c
index
1a34f57
..
91f3f7b
100644
(file)
--- a/
lib/getenv.c
+++ b/
lib/getenv.c
@@
-38,7
+38,7
@@
#endif
static
-char *GetEnv(char *variable)
+char *GetEnv(c
onst c
har *variable)
{
#ifdef WIN32
/* This shit requires windows.h (HUGE) to be included */
@@
-62,7
+62,7
@@
char *GetEnv(char *variable)
return (env && env[0])?strdup(env):NULL;
}
-char *curl_getenv(char *v)
+char *curl_getenv(c
onst c
har *v)
{
return GetEnv(v);
}