From 85e79b1348b5742eb6a8ae3e1639115dc973a8e1 Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Thu, 2 Sep 1999 06:14:23 +0000 Subject: [PATCH] Axe support. Assume STDC C translator is available to build OpenLDAP. --- servers/slapd/shell-backends/shellutil.c | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/servers/slapd/shell-backends/shellutil.c b/servers/slapd/shell-backends/shellutil.c index 4ba1213fa2..1bbf55abcd 100644 --- a/servers/slapd/shell-backends/shellutil.c +++ b/servers/slapd/shell-backends/shellutil.c @@ -320,26 +320,12 @@ ecalloc( unsigned nelem, unsigned elsize ) /* VARARGS */ void -debug_printf -#if HAVE_STDARG - ( char *fmt, ... ) -#else - ( va_alist ) - va_dcl -#endif +debug_printf( const char *fmt, ... ) { va_list ap; -#if !HAVE_STDARG - char *fmt; -#endif if ( debugflg ) { -#if HAVE_STDARG va_start( ap, fmt ); -#else - va_start( ap ); - fmt = va_arg( ap, char * ); -#endif fprintf( stderr, "%s: ", progname ); vfprintf( stderr, fmt, ap ); va_end( ap ); -- 2.39.5