aboutsummaryrefslogtreecommitdiffstats
path: root/test/rt/testdyn.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/rt/testdyn.c')
-rw-r--r--test/rt/testdyn.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/rt/testdyn.c b/test/rt/testdyn.c
index f085e7ae8..8dd6d5bf2 100644
--- a/test/rt/testdyn.c
+++ b/test/rt/testdyn.c
@@ -68,10 +68,9 @@ static memory_pool_t mp1;
* one to fail.
*/
-static msg_t thread(void *p) {
+static THD_FUNCTION(thread, p) {
test_emit_token(*(char *)p);
- return 0;
}
#if (CH_CFG_USE_HEAP && !CH_CFG_USE_MALLOC_HEAP) || defined(__DOXYGEN__)