summaryrefslogtreecommitdiff
path: root/gcc/scan.h
diff options
context:
space:
mode:
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2000-02-08 21:27:02 +0000
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2000-02-08 21:27:02 +0000
commit745272dbe781216d3b1bb4848b3af9a9d8dda016 (patch)
treedc89fdbfec79835dff420526e91afe6ae04f9ca8 /gcc/scan.h
parent2e931affe3fad0cb9ae8116d79b0ceb545cb913c (diff)
downloadgcc-745272dbe781216d3b1bb4848b3af9a9d8dda016.tar.gz
* 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
Diffstat (limited to 'gcc/scan.h')
-rw-r--r--gcc/scan.h1
1 files changed, 1 insertions, 0 deletions
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