diff options
Diffstat (limited to 'binutils/bucomm.c')
-rw-r--r-- | binutils/bucomm.c | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/binutils/bucomm.c b/binutils/bucomm.c index bb3fb3f..8272d6a 100644 --- a/binutils/bucomm.c +++ b/binutils/bucomm.c @@ -1,6 +1,6 @@ /* bucomm.c -- Bin Utils COMmon code. Copyright 1991, 1992, 1993, 1994, 1995, 1997, 1998, 2000, 2001, 2002, - 2003, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 + 2003, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2014 Free Software Foundation, Inc. This file is part of GNU Binutils. @@ -127,24 +127,26 @@ report (const char * format, va_list args) } void -fatal VPARAMS ((const char *format, ...)) +fatal (const char *format, ...) { - VA_OPEN (args, format); - VA_FIXEDARG (args, const char *, format); + va_list args; + + va_start (args, format); report (format, args); - VA_CLOSE (args); + va_end (args); xexit (1); } void -non_fatal VPARAMS ((const char *format, ...)) +non_fatal (const char *format, ...) { - VA_OPEN (args, format); - VA_FIXEDARG (args, const char *, format); + va_list args; + + va_start (args, format); report (format, args); - VA_CLOSE (args); + va_end (args); } /* Set the default BFD target based on the configured target. Doing |