aboutsummaryrefslogtreecommitdiff
path: root/gcc/cppmain.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cppmain.c')
-rw-r--r--gcc/cppmain.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/cppmain.c b/gcc/cppmain.c
index adde66c..5efafd5 100644
--- a/gcc/cppmain.c
+++ b/gcc/cppmain.c
@@ -67,8 +67,9 @@ static struct printer print;
/* Preprocess and output. */
void
-cpp_preprocess_file (pfile, out_stream)
+cpp_preprocess_file (pfile, in_fname, out_stream)
cpp_reader *pfile;
+ const char *in_fname;
FILE *out_stream;
{
options = cpp_get_options (pfile);
@@ -84,7 +85,7 @@ cpp_preprocess_file (pfile, out_stream)
setup_callbacks (pfile);
- if (cpp_read_main_file (pfile, options->in_fname, NULL))
+ if (cpp_read_main_file (pfile, in_fname, NULL))
{
cpp_finish_options (pfile);