From 4e1a6f1b3c543b9fbeb882a9e97551f7c58ca65a Mon Sep 17 00:00:00 2001 From: dzwdz Date: Mon, 25 Dec 2023 18:36:02 +0100 Subject: ports: curl :^) had to do a lot of hacky stuff, but it's there. worked on this on and off for a while now --- src/libc/signal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libc/signal.c') diff --git a/src/libc/signal.c b/src/libc/signal.c index cc280a6..a276fde 100644 --- a/src/libc/signal.c +++ b/src/libc/signal.c @@ -85,7 +85,7 @@ int sigsuspend(const sigset_t *mask) { __libc_panic("unimplemented"); } -int signal(int sig, void (*func)(int)) { +sighandler_t signal(int sig, void (*func)(int)) { (void)sig; (void)func; return errno = ENOSYS, SIG_ERR; } -- cgit v1.2.3