aboutsummaryrefslogtreecommitdiff
path: root/gcc/cppinit.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/cppinit.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/cppinit.c')
-rw-r--r--gcc/cppinit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cppinit.c b/gcc/cppinit.c
index e3d12213..7e5d7f6 100644
--- a/gcc/cppinit.c
+++ b/gcc/cppinit.c
@@ -931,7 +931,7 @@ do_includes (pfile, p, scan)
/* Later: maybe update this to use the #include "" search path
if cpp_read_file fails. */
- if (cpp_read_file (pfile, p->arg) && scan)
+ if (_cpp_read_file (pfile, p->arg) && scan)
cpp_scan_buffer_nooutput (pfile, 0);
q = p->next;
free (p);
@@ -1002,7 +1002,7 @@ cpp_start_read (pfile, fname)
if (CPP_OPTION (pfile, out_fname) == NULL)
CPP_OPTION (pfile, out_fname) = "";
- if (!cpp_read_file (pfile, fname))
+ if (!_cpp_read_file (pfile, fname))
return 0;
initialize_dependency_output (pfile);