summaryrefslogtreecommitdiff
path: root/windows_port.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-02-04 08:00:25 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-02-04 08:00:25 +0000
commitc72a2f4af7ca574a2c7b47750999f40ea5be7552 (patch)
tree3aeb7573f2257492805086e3c246d375f7519e1b /windows_port.c
parent2cb9a82bacf70127bacfbf81bb374f6889f55cdc (diff)
downloadc-ares-c72a2f4af7ca574a2c7b47750999f40ea5be7552.tar.gz
c-ares-c72a2f4af7ca574a2c7b47750999f40ea5be7552.tar.bz2
c-ares-c72a2f4af7ca574a2c7b47750999f40ea5be7552.zip
prevent the windows version to use global symbol names
added prototypes for the strcasecmp() functions
Diffstat (limited to 'windows_port.c')
-rw-r--r--windows_port.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/windows_port.c b/windows_port.c
index fa4adc5..a168341 100644
--- a/windows_port.c
+++ b/windows_port.c
@@ -6,7 +6,7 @@
#include "nameser.h"
int
-strncasecmp(const char *a, const char *b, size_t n)
+ares_strncasecmp(const char *a, const char *b, size_t n)
{
size_t i;
@@ -19,7 +19,7 @@ strncasecmp(const char *a, const char *b, size_t n)
}
int
-strcasecmp(const char *a, const char *b)
+ares_strcasecmp(const char *a, const char *b)
{
return strncasecmp(a, b, strlen(a)+1);
}