diff options
Diffstat (limited to 'src/libc/signal.c')
-rw-r--r-- | src/libc/signal.c | 2 |
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; } |