aboutsummaryrefslogtreecommitdiff
path: root/gcc/fix-header.c
diff options
context:
space:
mode:
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 522434f..c2e31f6 100644
--- a/gcc/fix-header.c
+++ b/gcc/fix-header.c
@@ -627,7 +627,7 @@ read_scan_file (in_fname, argc, argv)
/* We are going to be scanning a header file out of its proper context,
so ignore warnings and errors. */
- options = cpp_get_options (pfile);
+ options = cpp_get_options (scan_in);
options->inhibit_warnings = 1;
options->inhibit_errors = 1;