OSDN Git Service

* fix-header.c (cb_file_change): Update prototype.
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 12 Aug 2001 09:49:44 +0000 (09:49 +0000)
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 12 Aug 2001 09:49:44 +0000 (09:49 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44824 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/fix-header.c

index 880b27b..9ed2dfd 100644 (file)
@@ -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.
index 25d7a4f..baaabf8 100644 (file)
@@ -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