]> git.sur5r.net Git - openldap/commitdiff
from jon@symas.com - misc cleanup
authorHoward Chu <hyc@openldap.org>
Tue, 18 Dec 2001 00:16:15 +0000 (00:16 +0000)
committerHoward Chu <hyc@openldap.org>
Tue, 18 Dec 2001 00:16:15 +0000 (00:16 +0000)
libraries/libldap/util-int.c

index ffd221408188583f5ed92d32ba69f32e78ef8ad8..00faaca7d511a2b327447b25a005d6356c27963d 100644 (file)
@@ -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 );