diff options
author | Daniel Stenberg <daniel@haxx.se> | 2005-04-12 07:56:57 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2005-04-12 07:56:57 +0000 |
commit | c13a3d7b8432f69b7f438b5a30f87e56f057f108 (patch) | |
tree | 831bfc63b422b9bb979dbdfa9cccbe6d94527d23 | |
parent | 67805b6dc56ede9276b29e44c3a4f275eef0965f (diff) |
Provides an unconditional strlcat() proto even if strlcat() was found by
configure. An attempt to fix warnings when we build and the strlcat() function
is provided by one if the libs (gss or krb4) since then we have no protos
for it in a system header.
-rw-r--r-- | lib/strequal.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/lib/strequal.h b/lib/strequal.h index b3be070c3..26ec786eb 100644 --- a/lib/strequal.h +++ b/lib/strequal.h @@ -25,14 +25,6 @@ #include <curl/curl.h> -#if 0 -/* - * These two actually are public functions, which are in <curl/curl.h> - */ -int curl_strequal(const char *first, const char *second); -int curl_strnequal(const char *first, const char *second, size_t max); -#endif - #define strequal(a,b) curl_strequal(a,b) #define strnequal(a,b,c) curl_strnequal(a,b,c) @@ -45,7 +37,7 @@ char *Curl_strcasestr(const char *haystack, const char *needle); #ifndef HAVE_STRLCAT #define strlcat(x,y,z) Curl_strlcat(x,y,z) -size_t Curl_strlcat(char *dst, const char *src, size_t siz); #endif +size_t strlcat(char *dst, const char *src, size_t siz); #endif |