libc: Make struct sigaction C-compatible
All checks were successful
continuous-integration/drone/pr Build is passing

This commit is contained in:
apio 2023-07-10 21:19:43 +02:00
parent 66365e15a7
commit e0b5acb2ab
Signed by: apio
GPG Key ID: B8A7D06E42258954

View File

@ -15,7 +15,11 @@ struct sigaction
__simple_sighandler_t sa_handler;
sigset_t sa_mask;
int sa_flags;
#ifdef __cplusplus
void* __sa_sigreturn = nullptr;
#else
void* __sa_sigreturn;
#endif
};
// Constants for the 'how' parameter in sigprocmask().