libunwind-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Libunwind-devel] [PATCH 54/57] Replace empty argument lists with `void'


From: Tommi Rantala
Subject: [Libunwind-devel] [PATCH 54/57] Replace empty argument lists with `void' in tests
Date: Fri, 21 Sep 2012 14:11:55 +0300

---
 tests/Gtest-nomalloc.c |    6 +++---
 tests/Lrs-race.c       |    2 +-
 tests/Ltest-nocalloc.c |    4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/tests/Gtest-nomalloc.c b/tests/Gtest-nomalloc.c
index f4ebe2d..5b97fc7 100644
--- a/tests/Gtest-nomalloc.c
+++ b/tests/Gtest-nomalloc.c
@@ -79,19 +79,19 @@ do_backtrace (void)
 }
 
 void
-foo3 ()
+foo3 (void)
 {
   do_backtrace ();
 }
 
 void
-foo2 ()
+foo2 (void)
 {
   foo3 ();
 }
 
 void
-foo1 ()
+foo1 (void)
 {
   foo2 ();
 }
diff --git a/tests/Lrs-race.c b/tests/Lrs-race.c
index e39a62b..6fe4972 100644
--- a/tests/Lrs-race.c
+++ b/tests/Lrs-race.c
@@ -1471,7 +1471,7 @@ bar(void *p UNUSED)
   return NULL;
 }
 
-int doit ()
+int doit (void)
 {
   pthread_t tid[NTHREAD];
   int i;
diff --git a/tests/Ltest-nocalloc.c b/tests/Ltest-nocalloc.c
index aca032c..ee5ddaf 100644
--- a/tests/Ltest-nocalloc.c
+++ b/tests/Ltest-nocalloc.c
@@ -90,13 +90,13 @@ do_backtrace (void)
 }
 
 void
-foo3 ()
+foo3 (void)
 {
   do_backtrace ();
 }
 
 void
-foo2 ()
+foo2 (void)
 {
   foo3 ();
 }
-- 
1.7.9.5




reply via email to

[Prev in Thread] Current Thread [Next in Thread]