dev-lua/cqueues: fix incompatible-pointer

>src/signal.c:545:31:
>error: assignment to ‘__sighandler_t’ {aka ‘void (*)(int)’} from
>incompatible pointer type ‘void (*)(void)’[-Wincompatible-pointer-types]
>  545 |                 sa.sa_handler = &ls_noop;
>        |                               ^

Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
Part-of: https://github.com/gentoo/gentoo/pull/44733
Closes: https://github.com/gentoo/gentoo/pull/44733
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Nicolas PARLANT 2025-11-22 22:34:53 +01:00 committed by Sam James
parent ef5165a744
commit 5c629794b5
No known key found for this signature in database
GPG Key ID: 738409F520DF9190

View File

@ -83,3 +83,14 @@ Subject: [PATCH] Ext DNS: add function pointers prototypes in order to
unsigned args[2];
struct {
--- a/src/signal.c
+++ b/src/signal.c
@@ -533,7 +533,7 @@ static int ls_default(lua_State *L) {
} /* ls_default() */
-static void ls_noop() {
+static void ls_noop(int _unused) {
return;
} /* ls_noop() */