From 3738e4bdc0fa250e47a92f4d0bf611177104cc78 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 14 Mar 2001 08:47:56 +0000 Subject: 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(-) (limited to 'lib') diff --git a/lib/strequal.c b/lib/strequal.c index 6e198f1b5..38ba23986 100644 --- a/lib/strequal.c +++ b/lib/strequal.c @@ -25,7 +25,7 @@ #include -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 9901d281e..e4ed39da5 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 -- cgit v1.2.3