aboutsummaryrefslogtreecommitdiff
path: root/gcc/cpplib.h
diff options
context:
space:
mode:
authorZack Weinberg <zack@gcc.gnu.org>2000-04-30 17:30:25 +0000
committerZack Weinberg <zack@gcc.gnu.org>2000-04-30 17:30:25 +0000
commit6d2c2047b5760b68cc9eb98fba1ad00a2539fc12 (patch)
treeb4d768db6e949f31e3dc54159c98b6eb77a9dea5 /gcc/cpplib.h
parent638d694d84aedb360309dd956b261e428d85f092 (diff)
downloadgcc-6d2c2047b5760b68cc9eb98fba1ad00a2539fc12.zip
gcc-6d2c2047b5760b68cc9eb98fba1ad00a2539fc12.tar.gz
gcc-6d2c2047b5760b68cc9eb98fba1ad00a2539fc12.tar.bz2
cpplex.c (cpp_idcmp): New function.
* cpplex.c (cpp_idcmp): New function. * cpplib.h: Prototype it. * scan_decls.c (scan_decls): Use it to inspect token names. * fix-header.c (read_scan_file): Likewise. Set system_header_p on the file being run through the preprocessor. (check_macro_names): Provide length of token to cpp_defined. * Makefile.in: Remove stale warning message. From-SVN: r33552
Diffstat (limited to 'gcc/cpplib.h')
-rw-r--r--gcc/cpplib.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cpplib.h b/gcc/cpplib.h
index 82338049..c635ff6 100644
--- a/gcc/cpplib.h
+++ b/gcc/cpplib.h
@@ -655,8 +655,8 @@ extern cpp_buffer *cpp_push_buffer PARAMS ((cpp_reader *,
extern cpp_buffer *cpp_pop_buffer PARAMS ((cpp_reader *));
extern void cpp_scan_buffer PARAMS ((cpp_reader *, cpp_printer *));
extern void cpp_scan_buffer_nooutput PARAMS ((cpp_reader *));
-
-
+extern int cpp_idcmp PARAMS ((const unsigned char *,
+ size_t, const char *));
/* In cpphash.c */
extern int cpp_defined PARAMS ((cpp_reader *,