From fa6e93186bb6c78690978386cdb6e71999288921 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Fri, 10 Aug 2001 02:49:27 +0000 Subject: * as.h (alloca): Don't declare if __GNUC__. Remove an old comment. Comment indentation of #pragma. * macro.c (alloca): Likewise. --- gas/macro.c | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) (limited to 'gas/macro.c') diff --git a/gas/macro.c b/gas/macro.c index e93cdce..e78855b 100644 --- a/gas/macro.c +++ b/gas/macro.c @@ -24,20 +24,14 @@ #include "config.h" -/* AIX requires this to be the first thing in the file. */ -#ifdef __GNUC__ -# ifndef alloca -# ifdef __STDC__ -extern void *alloca (); -# else -extern char *alloca (); -# endif -# endif -#else +#ifndef __GNUC__ # if HAVE_ALLOCA_H # include # else # ifdef _AIX +/* Indented so that pre-ansi C compilers will ignore it, rather than + choke on it. Some versions of AIX require this to be the first + thing in the file. */ #pragma alloca # else # ifndef alloca /* predefined by HP cc +Olibcalls */ @@ -49,7 +43,7 @@ extern void *alloca (); # endif /* alloca */ # endif /* _AIX */ # endif /* HAVE_ALLOCA_H */ -#endif +#endif /* __GNUC__ */ #include #ifdef HAVE_STRING_H -- cgit v1.1