]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libiberty/asprintf.c
pex-common.c: New file.
[thirdparty/gcc.git] / libiberty / asprintf.c
index cd0543aa7ad40a78df65088a503f8677146677fb..3ef067ffac739842d57dc7b9c5ae07b18bf1b8b7 100644 (file)
@@ -22,11 +22,7 @@ Boston, MA 02111-1307, USA.  */
 #include "ansidecl.h"
 #include "libiberty.h"
 
-#ifdef ANSI_PROTOTYPES
 #include <stdarg.h>
-#else
-#include <varargs.h>
-#endif
 
 /*
 
@@ -45,7 +41,7 @@ not be allocated, minus one is returned and @code{NULL} is stored in
 */
 
 int
-asprintf VPARAMS ((char **buf, const char *fmt, ...))
+asprintf (char **buf, const char *fmt, ...)
 {
   int status;
   VA_OPEN (ap, fmt);