File: 06_GCC_15_fix.patch

package info (click to toggle)
kcov 43%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,684 kB
  • sloc: cpp: 12,619; ansic: 2,379; python: 2,000; sh: 333; makefile: 140; javascript: 65; xml: 7; asm: 4
file content (24 lines) | stat: -rw-r--r-- 738 bytes parent folder | download
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;