diff options
Diffstat (limited to 'binutils-2.25/binutils/dllwrap.c')
-rw-r--r-- | binutils-2.25/binutils/dllwrap.c | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/binutils-2.25/binutils/dllwrap.c b/binutils-2.25/binutils/dllwrap.c index a6dae902..85ace9bd 100644 --- a/binutils-2.25/binutils/dllwrap.c +++ b/binutils-2.25/binutils/dllwrap.c @@ -1,6 +1,5 @@ /* dllwrap.c -- wrapper for DLLTOOL and GCC to generate PE style DLLs - Copyright 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2007, 2009, - 2011, 2012 Free Software Foundation, Inc. + Copyright (C) 1998-2014 Free Software Foundation, Inc. Contributed by Mumit Khan (khan@xraylith.wisc.edu). This file is part of GNU Binutils. @@ -144,28 +143,30 @@ display (const char * message, va_list args) static void -inform VPARAMS ((const char *message, ...)) +inform (const char *message, ...) { - VA_OPEN (args, message); - VA_FIXEDARG (args, const char *, message); + va_list args; + + va_start (args, message); if (!verbose) return; display (message, args); - VA_CLOSE (args); + va_end (args); } static void -warn VPARAMS ((const char *format, ...)) +warn (const char *format, ...) { - VA_OPEN (args, format); - VA_FIXEDARG (args, const char *, format); + va_list args; + + va_start (args, format); display (format, args); - VA_CLOSE (args); + va_end (args); } /* Look for the program formed by concatenating PROG_NAME and the |