[Top][All Lists]
[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
- [Libunwind-devel] [PATCH 34/57] Enable coredump library build on ARM by default, (continued)
- [Libunwind-devel] [PATCH 34/57] Enable coredump library build on ARM by default, Tommi Rantala, 2012/09/21
- [Libunwind-devel] [PATCH 33/57] MIPS coredump support, Tommi Rantala, 2012/09/21
- [Libunwind-devel] [PATCH 36/57] ppc32: include `compiler.h' for UNUSED in ucontext_i.h, Tommi Rantala, 2012/09/21
- [Libunwind-devel] [PATCH 40/57] Constify `dwarf_to_unw_regnum_map', Tommi Rantala, 2012/09/21
- [Libunwind-devel] [PATCH 37/57] ppc32: `UNW_PPC32_REGS' fixlet, Tommi Rantala, 2012/09/21
- [Libunwind-devel] [PATCH 38/57] IA64: give prototype for `ia64_find_unwind_table()', Tommi Rantala, 2012/09/21
- [Libunwind-devel] [PATCH 39/57] Set `_UPT_reg_offset' read only, Tommi Rantala, 2012/09/21
- [Libunwind-devel] [PATCH 41/57] Constify `operands' in src/dwarf/Gexpr.c, Tommi Rantala, 2012/09/21
- [Libunwind-devel] [PATCH 54/57] Replace empty argument lists with `void' in tests,
Tommi Rantala <=
- [Libunwind-devel] [PATCH 51/57] Fix second operand read in dwarf_eval_expr(), Tommi Rantala, 2012/09/21
- [Libunwind-devel] [PATCH 50/57] Teach autotools current ARM `ex_tables.h' location, Tommi Rantala, 2012/09/21
- [Libunwind-devel] [PATCH 48/57] Use `UNUSED' in tests, Tommi Rantala, 2012/09/21
- [Libunwind-devel] [PATCH 52/57] Apply `define_lock()', Tommi Rantala, 2012/09/21
- [Libunwind-devel] [PATCH 49/57] Use shared `ARRAY_SIZE' in IA64 tests, Tommi Rantala, 2012/09/21
- [Libunwind-devel] [PATCH 56/57] Add arguments to malloc and calloc prototypes in Ltest-nocalloc, Tommi Rantala, 2012/09/21
- [Libunwind-devel] [PATCH 55/57] Remove unused variable in Ltest-nocalloc, Tommi Rantala, 2012/09/21
- [Libunwind-devel] [PATCH 53/57] Prefer NULL over zero, Tommi Rantala, 2012/09/21
- [Libunwind-devel] [PATCH 35/57] SuperH port, Tommi Rantala, 2012/09/21
- [Libunwind-devel] [PATCH 47/57] Plug in `ALIAS' attribute, Tommi Rantala, 2012/09/21