From 745272dbe781216d3b1bb4848b3af9a9d8dda016 Mon Sep 17 00:00:00 2001 From: zack Date: Tue, 8 Feb 2000 21:27:02 +0000 Subject: * Makefile.in (GEN_PROTOS_OBJS): Remove libcpp.a. (gen_protos.o): Don't depend on cpplib.h or cpphash.h. (fix-header.o): Don't depend on cpphash.h. * scan.c (hashstr): New function. * scan.h: Prototype it. * fix-header.c: Don't include cpphash.h. Use hashstr. * gen-protos.c: Don't include cpphash.h or cpplib.h. Use hashstr. Report hash table statistics. Add private definition of xrealloc. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31854 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/scan.h | 1 + 1 file changed, 1 insertion(+) (limited to 'gcc/scan.h') diff --git a/gcc/scan.h b/gcc/scan.h index b2c2893d66d..a2d964485e0 100644 --- a/gcc/scan.h +++ b/gcc/scan.h @@ -60,6 +60,7 @@ extern int read_upto _PARAMS((FILE *, sstring *, int)); extern unsigned long hash _PARAMS((const char *)); extern void recognized_function _PARAMS((const char *, int, int, const char *, int, int, const char *, int)); extern void recognized_extern _PARAMS((const char *, int, const char *, int)); +extern unsigned int hashstr _PARAMS((const char *, unsigned int)); /* get_token is a simple C lexer. */ #define IDENTIFIER_TOKEN 300 -- cgit v1.2.1