summaryrefslogtreecommitdiff
path: root/dev-util/muon/files/muon-0.1.0-test-Wincompatible-function-pointer-types.patch
blob: cdf0ebd5ceff4b65561c45d6745bcce148c2f33c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From 5362fa8b5182c72d4d58b6569e65c0bdd988320e Mon Sep 17 00:00:00 2001
From: Stone Tickle <lattis@mochiro.moe>
Date: Sat, 17 Dec 2022 20:23:59 -0500
Subject: [PATCH] fix signature of thread entrypoint function

---
https://git.sr.ht/~lattis/muon/commit/5362fa8b5182c72d4d58b6569e65c0bdd988320e
https://bugs.gentoo.org/885567

 tests/project/common/94 threads/threadprog.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/project/common/94 threads/threadprog.c b/tests/project/common/94 threads/threadprog.c
index 7bfb7c44..787b8472 100644
--- a/tests/project/common/94 threads/threadprog.c	
+++ b/tests/project/common/94 threads/threadprog.c	
@@ -22,7 +22,7 @@ int main(void) {
 #include<pthread.h>
 #include<stdio.h>
 
-void* main_func(void) {
+void *main_func(void *_) {
     printf("Printing from a thread.\n");
     return NULL;
 }
-- 
2.34.5