diff options
Diffstat (limited to 'libexec/ld.elf_so/debug.c')
| -rw-r--r-- | libexec/ld.elf_so/debug.c | 21 |
1 files changed, 2 insertions, 19 deletions
diff --git a/libexec/ld.elf_so/debug.c b/libexec/ld.elf_so/debug.c index 138148d0885..dc22c1e8cfc 100644 --- a/libexec/ld.elf_so/debug.c +++ b/libexec/ld.elf_so/debug.c @@ -1,4 +1,4 @@ -/* $NetBSD: debug.c,v 1.2 1999/03/01 16:40:07 christos Exp $ */ +/* $NetBSD: debug.c,v 1.3 2002/05/26 00:02:07 wiz Exp $ */ /* * Copyright 1996 John D. Polstra. @@ -36,11 +36,7 @@ */ #include <sys/cdefs.h> -#ifdef __STDC__ #include <stdarg.h> -#else -#include <varargs.h> -#endif #include "debug.h" #include "rtldenv.h" @@ -49,26 +45,13 @@ int debug = 0; void -#ifdef __STDC__ debug_printf(const char *format, ...) -#else -debug_printf(va_alist) - va_dcl -#endif { if(debug) { va_list ap; -#ifdef __STDC__ - va_start(ap, format); -#else - const char *format; - - va_start(ap); - format = va_arg(ap, const char *); -#endif + va_start(ap, format); xvprintf(format, ap); - va_end(ap); xprintf("\n"); } |
