aboutsummaryrefslogtreecommitdiff
path: root/ares/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
commit82b27d1b97b3b8bcc05f6cf54f5480bb4bdcd545 (patch)
tree535cc7e2153c0025d8999c2b27bc23c73f512bc1 /ares/windows_port.c
parentf7dee3b84631ab4c7fb384dd3f6bfd0e34e0ce49 (diff)
prevent the windows version to use global symbol names
added prototypes for the strcasecmp() functions
Diffstat (limited to 'ares/windows_port.c')
-rw-r--r--ares/windows_port.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ares/windows_port.c b/ares/windows_port.c
index fa4adc55f..a168341fd 100644
--- a/ares/windows_port.c
+++ b/ares/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);
}