aboutsummaryrefslogtreecommitdiff
path: root/gcc/fix-header.c
diff options
context:
space:
mode:
authorNeil Booth <neilb@earthling.net>2000-12-04 07:32:04 +0000
committerNeil Booth <neil@gcc.gnu.org>2000-12-04 07:32:04 +0000
commit614c7d3716281075f8ef704f37895a121a14d9bd (patch)
tree2ee77fc01b58627c217cdfa65bb2e8134086c70b /gcc/fix-header.c
parent2936419d1cbff6e526a77bbba46b06c5552a60e1 (diff)
downloadgcc-614c7d3716281075f8ef704f37895a121a14d9bd.zip
gcc-614c7d3716281075f8ef704f37895a121a14d9bd.tar.gz
gcc-614c7d3716281075f8ef704f37895a121a14d9bd.tar.bz2
cppfiles.c (cpp_make_system_header): Take 2 booleans, and operate on current buffer.
* 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. From-SVN: r37989
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 7e030d8..8727512 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++)