From 9a7fc9ce3aef1663f94f0c88d6f35fe2ec0c2d40 Mon Sep 17 00:00:00 2001
From: Daniel Stenberg <daniel@haxx.se>
Date: Tue, 14 Aug 2001 08:25:47 +0000
Subject: [PATCH] added const to the function protos

---
 lib/getenv.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/getenv.c b/lib/getenv.c
index 1a34f57f78..91f3f7bd75 100644
--- a/lib/getenv.c
+++ b/lib/getenv.c
@@ -38,7 +38,7 @@
 #endif
 
 static
-char *GetEnv(char *variable)
+char *GetEnv(const char *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(const char *v)
 {
   return GetEnv(v);
 }
-- 
GitLab