From e9f161a677087dfdf8e543b9e70c7131ac3fd942 Mon Sep 17 00:00:00 2001 From: Tommi Rantala Date: Fri, 21 Sep 2012 09:20:46 +0300 Subject: [PATCH] Replace empty argument lists with `void' in tests --- 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 f4ebe2d3..5b97fc70 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 e39a62bd..6fe49720 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 aca032ca..ee5ddafb 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 (); }