#elif !defined(_WIN32)
/* some systems fail to declare strdup */
/* Windows does not require this declaration */
- LDAP_LIBC_F(char *) (strdup)();
+ LDAP_LIBC_F(char *) (strdup) LDAP_P((const char *s));
#endif
/*
/* we don't want these declared for Windows or Mingw */
#ifndef _WIN32
-int (strcasecmp)();
-int (strncasecmp)();
+LDAP_LIBC_F(int) (strcasecmp) LDAP_P((const char *s1, const char *s2));
+LDAP_LIBC_F(int) (strncasecmp) LDAP_P((const char *s1, const char *s2, size_t n));
#endif
#ifndef SAFEMEMCPY