aboutsummaryrefslogtreecommitdiff
path: root/gcc/cpphash.h
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.demon.co.uk>2001-08-21 19:23:24 +0000
committerNeil Booth <neil@gcc.gnu.org>2001-08-21 19:23:24 +0000
commite5eba70ac7f7e76bbc784eee6191e7464694dba1 (patch)
treeb8f13202d7b92b0fabf823b1b15ac5379a0fdbc0 /gcc/cpphash.h
parentc1a6a8dc2a4e41198a30f1301fea869829f3e4a5 (diff)
downloadgcc-e5eba70ac7f7e76bbc784eee6191e7464694dba1.zip
gcc-e5eba70ac7f7e76bbc784eee6191e7464694dba1.tar.gz
gcc-e5eba70ac7f7e76bbc784eee6191e7464694dba1.tar.bz2
cppfiles.c (stack_include_file): Harmonize system headerness tests.
* cppfiles.c (stack_include_file): Harmonize system headerness tests. * cppfiles.c (stack_include_file): Only stack a file if there is something to do. Return a boolean indicating whether a buffer was stacked or not. (_cpp_execute_include): Similarly. (_cpp_read_file): Similarly. * cpphash.h (_cpp_read_file, _cpp_execute_include): Update prototypes. From-SVN: r45083
Diffstat (limited to 'gcc/cpphash.h')
-rw-r--r--gcc/cpphash.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cpphash.h b/gcc/cpphash.h
index f530e55..908040a 100644
--- a/gcc/cpphash.h
+++ b/gcc/cpphash.h
@@ -391,8 +391,8 @@ 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 char *_cpp_simplify_pathname PARAMS ((char *));
-extern int _cpp_read_file PARAMS ((cpp_reader *, const char *));
-extern int _cpp_execute_include PARAMS ((cpp_reader *,
+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 *,