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/ChangeLog | 4 ++++ gdb/dwarfread.c | 9 ++++++--- 2 files changed, 10 insertions(+), 3 deletions(-) (limited to 'gdb') diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ab81f0c..c5b300d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +Thu Oct 24 09:33:44 1991 John Gilmore (gnu at cygnus.com) + + * dwarfread.c: Use , since is not portable. + Thu Oct 24 01:32:51 1991 Fred Fish (fnf at cygnus.com) * dwarfread.c: New file for DWARF debugging format support. 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