From 21c38ecb898bfa6283cae8fbb2717317221de44b Mon Sep 17 00:00:00 2001 From: Neil Booth Date: Sun, 12 Aug 2001 09:49:44 +0000 Subject: [PATCH] * fix-header.c (cb_file_change): Update prototype. From-SVN: r44824 --- gcc/ChangeLog | 4 ++++ gcc/fix-header.c | 8 ++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 880b27b0df7..9ed2dfdb2b3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2001-08-12 Neil Booth + + * fix-header.c (cb_file_change): Update prototype. + 2001-08-11 Zack Weinberg * toplev.c (set_float_handler): Make static. diff --git a/gcc/fix-header.c b/gcc/fix-header.c index 25d7a4f8233..baaabf85feb 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