summaryrefslogtreecommitdiff
path: root/gcc/hash.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>1998-03-30 12:05:54 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>1998-03-30 12:05:54 +0000
commitb04cd50711e40415a169d0f157e4ab15c5344384 (patch)
tree89dd65e70bf50b33a26d779913cd79c789b77b0b /gcc/hash.c
parent1aa5d112c8397e861eea2cbfba02c7e8f1ffae97 (diff)
downloadgcc-b04cd50711e40415a169d0f157e4ab15c5344384.tar.gz
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. From-SVN: r18911
Diffstat (limited to 'gcc/hash.c')
-rw-r--r--gcc/hash.c7
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