From: John Gilmore Date: Thu, 24 Oct 1991 16:34:56 +0000 (+0000) Subject: Use , since is not portable. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=313fdead0e74ca29e82574e344fcc8478e4c5e96;p=binutils-gdb.git Use , since is not portable. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ab81f0ca57b..c5b300da7a6 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 6bb6c16fc27..54323fd5c17 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)