diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-03-30 12:05:54 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-03-30 12:05:54 +0000 |
commit | 1486870d76c8ec5ab28664fa7dcadd8ccc5e9723 (patch) | |
tree | 89dd65e70bf50b33a26d779913cd79c789b77b0b /gcc/hash.c | |
parent | 70f75771561269ae78629d30ec70f44afc67d5b0 (diff) | |
download | ppe42-gcc-1486870d76c8ec5ab28664fa7dcadd8ccc5e9723.tar.gz ppe42-gcc-1486870d76c8ec5ab28664fa7dcadd8ccc5e9723.zip |
More cutover to system.h:
* Makefile.in (cppalloc.o, cpperror.o, cppexp.o, cpphash.o,
cpplib.o, cppmain.o, fix-header.o, gcov.o, gen-protos.o,
gengenrtl.o, halfpic.o, hash.o, scan-decls.o, scan.o): Depend on
system.h.
* cpphash.c: Include config.h.
* cppalloc.c: Include system.h. Add parameters to various
function prototypes.
* cpperror.c: Likewise.
* cppexp.c: Likewise.
* cpphash.c: Likewise.
* cpplib.c: Likewise.
* cppmain.c: Likewise.
* fix-header.c: Likewise.
* gcov.c: Likewise.
* gen-protos.c: Likewise.
* gengenrtl.c: Likewise.
* halfpic.c: Likewise.
* hash.c: Likewise.
* scan-decls.c: Likewise.
* scan.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18911 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/hash.c')
-rw-r--r-- | gcc/hash.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/gcc/hash.c b/gcc/hash.c index b9541310644..4149f3a8386 100644 --- a/gcc/hash.c +++ b/gcc/hash.c @@ -19,11 +19,10 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include "config.h" +#include "system.h" #include "hash.h" #include "obstack.h" -extern void free PARAMS ((PTR)); - /* Obstack allocation and deallocation routines. */ #define obstack_chunk_alloc xmalloc #define obstack_chunk_free free @@ -33,10 +32,6 @@ extern char * xmalloc (); /* The default number of entries to use when creating a hash table. */ #define DEFAULT_SIZE (1009) -#ifndef NULL -#define NULL 0 -#endif - /* Create a new hash table, given a number of entries. */ boolean |