summaryrefslogtreecommitdiff
path: root/gcc/cpphash.h
diff options
context:
space:
mode:
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2001-08-21 19:23:24 +0000
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2001-08-21 19:23:24 +0000
commiteff7e27fce59a6c4ab34b7009db9b97da50c7c04 (patch)
treeb8f13202d7b92b0fabf823b1b15ac5379a0fdbc0 /gcc/cpphash.h
parentdc2573f9e5cc627ed7302e19a2e34b570a0ba662 (diff)
downloadgcc-eff7e27fce59a6c4ab34b7009db9b97da50c7c04.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45083 138bc75d-0d04-0410-961f-82ee72b054a4
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 f530e5596ea..908040a6948 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 *,