From 1486870d76c8ec5ab28664fa7dcadd8ccc5e9723 Mon Sep 17 00:00:00 2001 From: ghazi Date: Mon, 30 Mar 1998 12:05:54 +0000 Subject: 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 --- gcc/hash.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'gcc/hash.c') 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 -- cgit v1.2.1