diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-03-24 10:16:53 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-03-24 10:16:53 +0000 |
commit | 5ce881987ccfcfadb40f75b9cadc07925aaea2f7 (patch) | |
tree | 8e8fe251c2a002a4dde07af7250735032cb7cb48 /gcc/genextract.c | |
parent | ca0c4f4301de08b5fb0584d7c0215a615ec8eeb6 (diff) | |
download | gcc-5ce881987ccfcfadb40f75b9cadc07925aaea2f7.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18794 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/genextract.c')
-rw-r--r-- | gcc/genextract.c | 23 |
1 files changed, 7 insertions, 16 deletions
diff --git a/gcc/genextract.c b/gcc/genextract.c index 63ab2a5fbd8..3236cde6bd1 100644 --- a/gcc/genextract.c +++ b/gcc/genextract.c @@ -19,27 +19,18 @@ the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include <stdio.h> #include "hconfig.h" +#include "system.h" #include "rtl.h" #include "obstack.h" #include "insn-config.h" -#ifdef HAVE_STDLIB_H -#include <stdlib.h> -#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 (); - /* Names for patterns. Need to allow linking with print-rtl. */ char **insn_name_ptr; @@ -104,14 +95,14 @@ static int dupnums[MAX_DUP_OPERANDS]; static struct code_ptr *peepholes; -static void walk_rtx (); -static void print_path (); -char *xmalloc (); -char *xrealloc (); +static void walk_rtx PROTO ((rtx, char *)); +static void print_path PROTO ((char *)); +char *xmalloc PROTO ((unsigned)); +char *xrealloc PROTO ((char *, unsigned)); static void fatal (); -static char *copystr (); +static char *copystr PROTO ((char *)); static void mybzero (); -void fancy_abort (); +void fancy_abort PROTO ((void)); static void gen_insn (insn) |