From: Hallvard Furuseth Date: Thu, 2 Sep 1999 06:14:23 +0000 (+0000) Subject: Axe support. Assume STDC C translator is available X-Git-Tag: TWEB_OL_BASE~47 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=85e79b1348b5742eb6a8ae3e1639115dc973a8e1;p=openldap Axe support. Assume STDC C translator is available to build OpenLDAP. --- 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 );