From: Howard Chu Date: Tue, 18 Dec 2001 00:16:15 +0000 (+0000) Subject: from jon@symas.com - misc cleanup X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~631 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6456e5f5593c09bf6a446e82e690181beed3d077;p=openldap from jon@symas.com - misc cleanup --- diff --git a/libraries/libldap/util-int.c b/libraries/libldap/util-int.c index ffd2214081..00faaca7d5 100644 --- a/libraries/libldap/util-int.c +++ b/libraries/libldap/util-int.c @@ -95,7 +95,9 @@ char *ldap_pvt_ctime( const time_t *tp, char *buf ) #define BUFSTART 1024 #define BUFMAX (32*1024) +#if defined( NEED_SAFE_REALLOC ) static char *safe_realloc( char **buf, int len ); +#endif #if !defined(HAVE_GETHOSTBYNAME_R) && defined(LDAP_R_COMPILE) static int copy_hostent( struct hostent *res, char **buf, struct hostent * src );