toplev.c (close_dump_file): Wrap function prototype for argument "func" in PROTO.
authorJeffrey A Law <law@cygnus.com>
Sat, 31 Jan 1998 10:26:48 +0000 (10:26 +0000)
committerJeff Law <law@gcc.gnu.org>
Sat, 31 Jan 1998 10:26:48 +0000 (03:26 -0700)
        * toplev.c (close_dump_file): Wrap function prototype for
        argument "func" in PROTO.
        (dump_rtl): Likewise.

From-SVN: r17561

gcc/ChangeLog
gcc/toplev.c

index f87310c94d24bf64a62b6dba6bbcc30b40a664db..5700f5eaf1cf806d8c88d859c7eeebde434fe0d8 100644 (file)
@@ -1,3 +1,9 @@
+Sat Jan 31 11:26:58 1998  Jeffrey A Law  (law@cygnus.com)
+
+       * toplev.c (close_dump_file): Wrap function prototype for 
+       argument "func" in PROTO.
+       (dump_rtl): Likewise.
+
 Fri Jan 30 22:30:39 1998  John Carr  <jfc@mit.edu>
 
        * sparc.c (sparc_override_options): Make v8plus and ultrasparc set
index 5ed2edda59088661efce0da13507833103b5fe63..0177fa2c28aab75d2a6e0eed3829fc4be4a03ae4 100644 (file)
@@ -2202,7 +2202,7 @@ open_dump_file (suffix, function_name)
 /* Routine to close a dump file.  */
 static void
 close_dump_file (func, insns)
-     void (*func)(FILE *, rtx);
+     void (*func) PROTO ((FILE *, rtx));
      rtx    insns;
 {
   TIMEVAR
@@ -2225,7 +2225,7 @@ static void
 dump_rtl (suffix, decl, func, insns)
      char *suffix;
      tree   decl;
-     void (*func)(FILE *, rtx);
+     void (*func) PROTO ((FILE *, rtx));
      rtx    insns;
 {
   open_dump_file (suffix, decl_printable_name (decl, 2));