diff mbox

[Fortran,committed] Fix -Wold-style-definition warning in libgfortran

Message ID 4E18C6AD.5080001@net-b.de
State New
Headers show

Commit Message

Tobias Burnus July 9, 2011, 9:22 p.m. UTC
When looking at the build log, I saw a -Wold-style-definition warning in 
libgfortran.

I have committed fix as obvious (Rev. 176109).

Tobias
diff mbox

Patch

Index: libgfortran/runtime/error.c
===================================================================
--- libgfortran/runtime/error.c	(Revision 176108)
+++ libgfortran/runtime/error.c	(Arbeitskopie)
@@ -164,7 +164,7 @@  st_printf (const char * format, ...)
    core.  */
 
 void
-sys_abort ()
+sys_abort (void)
 {
   /* If backtracing is enabled, print backtrace and disable signal
      handler for ABRT.  */
Index: libgfortran/ChangeLog
===================================================================
--- libgfortran/ChangeLog	(Revision 176108)
+++ libgfortran/ChangeLog	(Arbeitskopie)
@@ -1,4 +1,9 @@ 
 2011-07-09  Tobias Burnus  <burnus@net-b.de>
+
+	* runtime/error.c (sys_abort): Change argument list
+	from "()" to "(void)".
+
+2011-07-09  Tobias Burnus  <burnus@net-b.de>
 	    Daniel Carrera  <dcarrera@gmail.com>
 
 	* caf/mpi.c (runtime_error): New function.