summaryrefslogtreecommitdiff
path: root/libgfortran
diff options
context:
space:
mode:
authorburnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4>2011-07-09 21:22:44 +0000
committerburnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4>2011-07-09 21:22:44 +0000
commit355846cff4fa55764fc410c536966459e31d2294 (patch)
treee3625570ee53b323697137d4437c951a9007bef9 /libgfortran
parent04dfc41a5aa396e7f266d66dbad4373fdd46e06a (diff)
downloadgcc-355846cff4fa55764fc410c536966459e31d2294.tar.gz
2011-07-09 Tobias Burnus <burnus@net-b.de>
* runtime/error.c (sys_abort): Change argument list from "()" to "(void)". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@176109 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran')
-rw-r--r--libgfortran/ChangeLog5
-rw-r--r--libgfortran/runtime/error.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog
index d278f93b800..0bf20db904b 100644
--- a/libgfortran/ChangeLog
+++ b/libgfortran/ChangeLog
@@ -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.
diff --git a/libgfortran/runtime/error.c b/libgfortran/runtime/error.c
index dae298df203..aa447061a54 100644
--- a/libgfortran/runtime/error.c
+++ b/libgfortran/runtime/error.c
@@ -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. */