Skip to content
Snippets Groups Projects
Commit 85e79b13 authored by Hallvard Furuseth's avatar Hallvard Furuseth
Browse files

Axe <varargs.h> support. Assume STDC C translator is available

to build OpenLDAP.
parent d0deb9b4
Branches
Tags
No related merge requests found
......@@ -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 );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment