From 313fdead0e74ca29e82574e344fcc8478e4c5e96 Mon Sep 17 00:00:00 2001 From: John Gilmore Date: Thu, 24 Oct 1991 16:34:56 +0000 Subject: Use , since is not portable. --- gdb/dwarfread.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'gdb/dwarfread.c') diff --git a/gdb/dwarfread.c b/gdb/dwarfread.c index 6bb6c16..54323fd 100644 --- a/gdb/dwarfread.c +++ b/gdb/dwarfread.c @@ -65,7 +65,7 @@ other things to work on, if you get bored. :-) */ #include -#include +#include #include #include "defs.h" @@ -607,11 +607,14 @@ NOTES */ static void -DEFUN(dwarfwarn, (fmt), char *fmt DOTS) +dwarfwarn (va_alist) + va_dcl { va_list ap; + char *fmt; - va_start (ap, fmt); + va_start (ap); + fmt = va_arg (ap, char *); warning_setup (); fprintf (stderr, "DWARF warning (ref 0x%x): ", curdie -> dieref); if (curdie -> at_name) -- cgit v1.1