Use <varargs.h>, since <stdarg.h> is not portable.
This commit is contained in:
parent
54154111c5
commit
313fdead0e
2 changed files with 10 additions and 3 deletions
|
@ -1,3 +1,7 @@
|
|||
Thu Oct 24 09:33:44 1991 John Gilmore (gnu at cygnus.com)
|
||||
|
||||
* dwarfread.c: Use <varargs.h>, since <stdarg.h> 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.
|
||||
|
|
|
@ -65,7 +65,7 @@ other things to work on, if you get bored. :-)
|
|||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdarg.h>
|
||||
#include <varargs.h>
|
||||
#include <fcntl.h>
|
||||
|
||||
#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)
|
||||
|
|
Loading…
Reference in a new issue