From 0b93b64e20444a5a105b0cb9935b7841486559aa Mon Sep 17 00:00:00 2001 From: "Kaveh R. Ghazi" Date: Tue, 24 Mar 1998 10:16:53 +0000 Subject: Cutover various gen*.c files to using system.h: * Makefile.in (genconfig.o, genflags.o, gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o, genpeep.o, genattr.o, genattrtab.o, genoutput.o): Depend on system.h. * genattr.c: Include system.h. Add arguments to various function prototypes. Remove redundant prototype of read_rtx(). * genattrtab.c: Likewise. * gencodes.c: Likewise. * genconfig.c: Likewise. * genemit.c: Likewise. * genextract.c: Likewise. * genflags.c: Likewise. * genopinit.c: Likewise. * genoutput.c: Likewise. * genpeep.c: Likewise. * genrecog.c: Likewise. From-SVN: r18794 --- gcc/genflags.c | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) (limited to 'gcc/genflags.c') diff --git a/gcc/genflags.c b/gcc/genflags.c index 85aa7b07ca8..9a9db0209a5 100644 --- a/gcc/genflags.c +++ b/gcc/genflags.c @@ -22,29 +22,20 @@ the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include #include "hconfig.h" +#include "system.h" #include "rtl.h" #include "obstack.h" -#ifdef HAVE_STDLIB_H -#include -#endif - static struct obstack obstack; struct obstack *rtl_obstack = &obstack; #define obstack_chunk_alloc xmalloc #define obstack_chunk_free free -#ifdef NEED_DECLARATION_FREE -extern void free (); -#endif -extern rtx read_rtx (); - -char *xmalloc (); +char *xmalloc PROTO((unsigned)); static void fatal (); -void fancy_abort (); +void fancy_abort PROTO((void)); /* Names for patterns. Need to allow linking with print-rtl. */ char **insn_name_ptr; -- cgit v1.2.1