aboutsummaryrefslogtreecommitdiffstats
path: root/test/rt/testthd.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/rt/testthd.c')
-rw-r--r--test/rt/testthd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/rt/testthd.c b/test/rt/testthd.c
index 0f0c88c86..5b1127aa3 100644
--- a/test/rt/testthd.c
+++ b/test/rt/testthd.c
@@ -57,10 +57,9 @@
* priority order regardless of the initial order.
*/
-static msg_t thread(void *p) {
+static THD_FUNCTION(thread, p) {
test_emit_token(*(char *)p);
- return 0;
}
static void thd1_execute(void) {