diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 1998-03-24 10:16:53 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 1998-03-24 10:16:53 +0000 |
commit | 0b93b64e20444a5a105b0cb9935b7841486559aa (patch) | |
tree | 8e8fe251c2a002a4dde07af7250735032cb7cb48 /gcc/genoutput.c | |
parent | 4c5f3fcd5a8c167c4e780243f68bab8ffccf0dc2 (diff) | |
download | gcc-0b93b64e20444a5a105b0cb9935b7841486559aa.zip gcc-0b93b64e20444a5a105b0cb9935b7841486559aa.tar.gz gcc-0b93b64e20444a5a105b0cb9935b7841486559aa.tar.bz2 |
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
Diffstat (limited to 'gcc/genoutput.c')
-rw-r--r-- | gcc/genoutput.c | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/gcc/genoutput.c b/gcc/genoutput.c index 88858ed..a2d7c71 100644 --- a/gcc/genoutput.c +++ b/gcc/genoutput.c @@ -90,15 +90,11 @@ insn_template[24] to be "clrd %0", and insn_n_operands[24] to be 1. It would not make an case in output_insn_hairy because the template given in the entry is a constant (it does not start with `*'). */ -#include <stdio.h> #include "hconfig.h" +#include "system.h" #include "rtl.h" #include "obstack.h" -#ifdef HAVE_STDLIB_H -#include <stdlib.h> -#endif - /* No instruction can have more operands than this. Sorry for this arbitrary limit, but what machine will have an instruction with this many operands? */ @@ -111,18 +107,13 @@ 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)); static void error (); static void mybcopy (); static void mybzero (); -static int n_occurrences (); +static int n_occurrences PROTO((int, char *)); /* insns in the machine description are assigned sequential code numbers that are used by insn-recog.c (produced by genrecog) to communicate |