aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/fix-header.c8
2 files changed, 8 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 880b27b..9ed2dfd 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2001-08-12 Neil Booth <neil@daikokuya.demon.co.uk>
+
+ * fix-header.c (cb_file_change): Update prototype.
+
2001-08-11 Zack Weinberg <zackw@panix.com>
* toplev.c (set_float_handler): Make static.
diff --git a/gcc/fix-header.c b/gcc/fix-header.c
index 25d7a4f..baaabf8 100644
--- a/gcc/fix-header.c
+++ b/gcc/fix-header.c
@@ -199,7 +199,7 @@ static int inf_skip_spaces PARAMS ((int));
static int inf_read_upto PARAMS ((sstring *, int));
static int inf_scan_ident PARAMS ((sstring *, int));
static int check_protection PARAMS ((int *, int *));
-static void cb_file_change PARAMS ((cpp_reader *, const cpp_file_change *));
+static void cb_file_change PARAMS ((cpp_reader *, const struct line_map *));
static void
add_symbols (flags, names)
@@ -598,12 +598,12 @@ check_macro_names (pfile, names)
}
static void
-cb_file_change (pfile, fc)
+cb_file_change (pfile, map)
cpp_reader *pfile ATTRIBUTE_UNUSED;
- const cpp_file_change *fc;
+ const struct line_map *map;
{
/* Just keep track of current file name. */
- cur_file = fc->map->to_file;
+ cur_file = map->to_file;
}
static void