From: Kurt Zeilenga Date: Mon, 8 Nov 1999 15:33:01 +0000 (+0000) Subject: Use LDAP_F for libc routines X-Git-Tag: UCDATA_2_4~234 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=62e49d5c9d6836fe869cdbeb91bde9ca53abf20a;p=openldap Use LDAP_F for libc routines --- diff --git a/include/ac/string.h b/include/ac/string.h index bc884ae81b..0f30e4e03e 100644 --- a/include/ac/string.h +++ b/include/ac/string.h @@ -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 )