---
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
_______________________________________________
Libunwind-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/libunwind-devel