summaryrefslogtreecommitdiff
path: root/src/libc/signal.c
diff options
context:
space:
mode:
authordzwdz2023-12-25 18:36:02 +0100
committerdzwdz2023-12-25 18:36:02 +0100
commit4e1a6f1b3c543b9fbeb882a9e97551f7c58ca65a (patch)
tree8c2048c751db8b98e3033a61b6ad5bbd11a303a9 /src/libc/signal.c
parent64d4330810a37dd9c41a82ae6cc420850ca1e7da (diff)
ports: curl :^)
had to do a lot of hacky stuff, but it's there. worked on this on and off for a while now
Diffstat (limited to 'src/libc/signal.c')
-rw-r--r--src/libc/signal.c2
1 files changed, 1 insertions, 1 deletions
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;
}