From 3738e4bdc0fa250e47a92f4d0bf611177104cc78 Mon Sep 17 00:00:00 2001
From: Daniel Stenberg <daniel@haxx.se>
Date: Wed, 14 Mar 2001 08:47:56 +0000
Subject: [PATCH] The Curl_* prefixes are now changed for curl_* ones, as these
 two functions are used externally and thus are public symbols.

---
 lib/strequal.c |  4 ++--
 lib/strequal.h | 12 ++++++++----
 2 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/lib/strequal.c b/lib/strequal.c
index 6e198f1b5c..38ba239864 100644
--- a/lib/strequal.c
+++ b/lib/strequal.c
@@ -25,7 +25,7 @@
 
 #include <string.h>
 
-int Curl_strequal(const char *first, const char *second)
+int curl_strequal(const char *first, const char *second)
 {
 #if defined(HAVE_STRCASECMP)
   return !strcasecmp(first, second);
@@ -45,7 +45,7 @@ int Curl_strequal(const char *first, const char *second)
 #endif
 }
 
-int Curl_strnequal(const char *first, const char *second, size_t max)
+int curl_strnequal(const char *first, const char *second, size_t max)
 {
 #if defined(HAVE_STRCASECMP)
   return !strncasecmp(first, second, max);
diff --git a/lib/strequal.h b/lib/strequal.h
index 9901d281e0..e4ed39da5a 100644
--- a/lib/strequal.h
+++ b/lib/strequal.h
@@ -22,10 +22,14 @@
  *
  * $Id$
  *****************************************************************************/
-int Curl_strequal(const char *first, const char *second);
-int Curl_strnequal(const char *first, const char *second, size_t max);
 
-#define strequal(a,b) Curl_strequal(a,b)
-#define strnequal(a,b,c) Curl_strnequal(a,b,c)
+/*
+ * These two actually are public functions.
+ */
+int curl_strequal(const char *first, const char *second);
+int curl_strnequal(const char *first, const char *second, size_t max);
+
+#define strequal(a,b) curl_strequal(a,b)
+#define strnequal(a,b,c) curl_strnequal(a,b,c)
 
 #endif
-- 
GitLab