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/genattrtab.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/genattrtab.c')
-rw-r--r-- | gcc/genattrtab.c | 24 |
1 files changed, 2 insertions, 22 deletions
diff --git a/gcc/genattrtab.c b/gcc/genattrtab.c index 49a6244..d2b2412 100644 --- a/gcc/genattrtab.c +++ b/gcc/genattrtab.c @@ -102,29 +102,14 @@ Boston, MA 02111-1307, USA. */ #else #include <varargs.h> #endif -#include <stdio.h> +#include "system.h" #include "rtl.h" #include "insn-config.h" /* For REGISTER_CONSTRAINTS */ -#ifdef TIME_WITH_SYS_TIME -# include <sys/time.h> -# include <time.h> -#else -# if HAVE_SYS_TIME_H -# include <sys/time.h> -# else -# include <time.h> -#endif -#endif - #ifdef HAVE_SYS_RESOURCE_H # include <sys/resource.h> #endif -#ifdef HAVE_STDLIB_H -#include <stdlib.h> -#endif - /* We must include obstack.h after <sys/time.h>, to avoid lossage with /usr/include/sys/stdtypes.h on Sun OS 4.x. */ #include "obstack.h" @@ -140,13 +125,8 @@ struct obstack *temp_obstack = &obstack2; /* Define this so we can link with print-rtl.o to get debug_rtx function. */ char **insn_name_ptr = 0; -#ifdef NEED_DECLARATION_FREE -extern void free (); -#endif -extern rtx read_rtx (); - static void fatal (); -void fancy_abort (); +void fancy_abort PROTO((void)); /* enough space to reserve for printing out ints */ #define MAX_DIGITS (HOST_BITS_PER_INT * 3 / 10 + 3) |