From 62e49d5c9d6836fe869cdbeb91bde9ca53abf20a Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Mon, 8 Nov 1999 15:33:01 +0000 Subject: [PATCH] Use LDAP_F for libc routines --- include/ac/string.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 ) -- 2.39.5