1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
From: Simon Kagstrom <simon.kagstrom@gmail.com>
Date: Mon, 17 Mar 2025 07:53:55 +0100
Subject: tests: thread-main: Correct thread callback function prototype
Origin: upstream
Forwarded: https://github.com/SimonKagstrom/kcov/commit/a6ff5ac44524d1bc9c298ca14c10edd41ded1cea
Acked-by: William Desportes <williamdes@wdes.fr>
---
tests/threads/thread-main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/threads/thread-main.c b/tests/threads/thread-main.c
index 43ae4e4..71506d1 100644
--- a/tests/threads/thread-main.c
+++ b/tests/threads/thread-main.c
@@ -11,7 +11,7 @@ void *thread_cb(void *ptr)
return NULL;
}
-void* real_thread_create()
+void* real_thread_create(void *ptr)
{
pthread_t thr;
int i;
|