aboutsummaryrefslogtreecommitdiff
path: root/gcc/cpphash.h
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.co.uk>2003-04-21 19:21:59 +0000
committerNeil Booth <neil@gcc.gnu.org>2003-04-21 19:21:59 +0000
commit74eb4b3e2ef09909768f6b7ce18b0b6c03f26f5b (patch)
tree18ec4d7a6b4b870f1e5aa394f9a86c0a58ffc185 /gcc/cpphash.h
parent65085aa3eff4cbaf515a4fcbb16d2692ecb1ab74 (diff)
downloadgcc-74eb4b3e2ef09909768f6b7ce18b0b6c03f26f5b.zip
gcc-74eb4b3e2ef09909768f6b7ce18b0b6c03f26f5b.tar.gz
gcc-74eb4b3e2ef09909768f6b7ce18b0b6c03f26f5b.tar.bz2
c-ppoutput.c (cb_include): Don't take a cpp_token.
* c-ppoutput.c (cb_include): Don't take a cpp_token. * cppfiles.c: Don't undef strcmp. (find_include_file): Don't take a cpp_token. Check for empty file names. (_cpp_execute_include, _cpp_compare_file_date): Don't take a cpp_token. (cpp_push_include): Simplify. * cpphash.h (_cpp_execute_include, _cpp_compare_file_date): Update. * cpplib.c (glue_header_name): Return the file name, not a cpp_token. (parse_include): Similary. Don't check for zero-length filenames. (do_include_common, do_pragma_dependency): Update accordingly. * cpplib.h (struct cpp_callbacks): Change prototype of include. From-SVN: r65894
Diffstat (limited to 'gcc/cpphash.h')
-rw-r--r--gcc/cpphash.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/gcc/cpphash.h b/gcc/cpphash.h
index 6e17226..210380e 100644
--- a/gcc/cpphash.h
+++ b/gcc/cpphash.h
@@ -498,11 +498,10 @@ extern void _cpp_destroy_hashtable PARAMS ((cpp_reader *));
extern void _cpp_fake_include PARAMS ((cpp_reader *, const char *));
extern void _cpp_never_reread PARAMS ((struct include_file *));
extern bool _cpp_read_file PARAMS ((cpp_reader *, const char *));
-extern bool _cpp_execute_include PARAMS ((cpp_reader *,
- const cpp_token *,
- enum include_type));
-extern int _cpp_compare_file_date PARAMS ((cpp_reader *,
- const cpp_token *));
+extern bool _cpp_execute_include PARAMS ((cpp_reader *, const char *,
+ int, enum include_type));
+extern int _cpp_compare_file_date PARAMS ((cpp_reader *, const char *,
+ int));
extern void _cpp_report_missing_guards PARAMS ((cpp_reader *));
extern void _cpp_init_includes PARAMS ((cpp_reader *));
extern void _cpp_cleanup_includes PARAMS ((cpp_reader *));