Use LDAP_F for libc routines

This commit is contained in:
Kurt Zeilenga 1999-11-08 15:33:01 +00:00
parent 58eb1534f9
commit 62e49d5c9d

View File

@ -64,15 +64,15 @@ LDAP_F(char *) ldap_pvt_strdup LDAP_P((
# define strdup(s) ldap_pvt_strdup(s)
#else
/* some systems fail to declare strdup */
extern char *(strdup)();
LDAP_F(char *) (strdup)();
#endif
/*
* some systems fail to declare strcasecmp() and strncasecmp()
* we need them declared so we can obtain pointers to them
*/
extern int (strcasecmp)();
extern int (strncasecmp)();
LDAP_F(int) (strcasecmp)();
LDAP_F(int) (strncasecmp)();
#ifndef SAFEMEMCPY
# if defined( HAVE_MEMMOVE )