mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-30 13:30:57 +08:00
Use LDAP_F for libc routines
This commit is contained in:
parent
58eb1534f9
commit
62e49d5c9d
@ -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 )
|
||||
|
Loading…
Reference in New Issue
Block a user