aboutsummaryrefslogtreecommitdiffstats
path: root/test/rt/testmsg.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/rt/testmsg.c')
-rw-r--r--test/rt/testmsg.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/rt/testmsg.c b/test/rt/testmsg.c
index aa04ce744..2a98d0fc6 100644
--- a/test/rt/testmsg.c
+++ b/test/rt/testmsg.c
@@ -56,12 +56,11 @@
* not find a fifth message waiting.
*/
-static msg_t thread(void *p) {
+static THD_FUNCTION(thread, p) {
chMsgSend(p, 'A');
chMsgSend(p, 'B');
chMsgSend(p, 'C');
- return 0;
}
static void msg1_execute(void) {