From 1f9986ff0c997a3e9d5542ca51aa368a98d6f2fa Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Thu, 9 Feb 2006 11:54:15 +0000 Subject: 2006-02-09 Eric Botcazou * configure.in (CHECK_DECLS): Add vsnprintf. * configure: Regenerate. * messages.c (errno.h, stdarg.h, varargs.h, va_list): Do not include/declare here, but... * as.h: Move code detecting VARARGS idiom to the top. (errno.h, stdarg.h, varargs.h, va_list): ...here. (vsnprintf): Declare if not already declared. --- gas/messages.c | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'gas/messages.c') diff --git a/gas/messages.c b/gas/messages.c index a8e309d162..b1b94cdf7c 100644 --- a/gas/messages.c +++ b/gas/messages.c @@ -21,28 +21,6 @@ #include "as.h" -#include -#ifdef HAVE_ERRNO_H -#include -#endif - -#ifdef USE_STDARG -#include -#endif - -#ifdef USE_VARARGS -#include -#endif - -#if !defined (USE_STDARG) && !defined (USE_VARARGS) -/* Roll our own. */ -#define va_alist REST -#define va_dcl -typedef int * va_list; -#define va_start(ARGS) ARGS = &REST -#define va_end(ARGS) -#endif - static void identify (char *); static void as_show_where (void); static void as_warn_internal (char *, unsigned int, char *); -- cgit v1.2.1