summaryrefslogtreecommitdiff
path: root/gcc/fix-header.c
diff options
context:
space:
mode:
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2000-12-04 07:32:04 +0000
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2000-12-04 07:32:04 +0000
commitfd944c82b484fee0514fefed73ce1622127976cc (patch)
tree2ee77fc01b58627c217cdfa65bb2e8134086c70b /gcc/fix-header.c
parent3d75d43c65cad1c53dd9b0321ff7e166c00d1d32 (diff)
downloadgcc-fd944c82b484fee0514fefed73ce1622127976cc.tar.gz
* cppfiles.c (cpp_make_system_header): Take 2 booleans,
and operate on current buffer. (cpp_read_file): Rename _cpp_read_file. * cpplib.c (do_line, do_pragma_system_header): Update calls to cpp_make_system_header. * fix-header.c: Similarly. * cpphash.h (_cpp_read_file): Move from... * cpplib.h: ... here. * cppinit.c (do_includes, cpp_start_read): Update appropriately. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37989 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fix-header.c')
-rw-r--r--gcc/fix-header.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fix-header.c b/gcc/fix-header.c
index 7e030d81f27..872751257ab 100644
--- a/gcc/fix-header.c
+++ b/gcc/fix-header.c
@@ -636,7 +636,7 @@ read_scan_file (in_fname, argc, argv)
exit (FATAL_EXIT_CODE);
/* We are scanning a system header, so mark it as such. */
- cpp_make_system_header (scan_in, CPP_BUFFER (scan_in), 1);
+ cpp_make_system_header (scan_in, 1, 0);
scan_decls (scan_in, argc, argv);
for (cur_symbols = &symbol_table[0]; cur_symbols->names; cur_symbols++)