mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-27 13:00:28 +00:00
Change sigaction_f to match sysv signature (#585)
This commit is contained in:
parent
33b5b5b312
commit
263711965f
23 changed files with 46 additions and 35 deletions
2
third_party/awk/main.c
vendored
2
third_party/awk/main.c
vendored
|
@ -82,7 +82,7 @@ static size_t curpfile; /* current filename */
|
|||
|
||||
bool safe = false; /* true => "safe" mode */
|
||||
|
||||
static wontreturn void fpecatch(int n, siginfo_t *si, ucontext_t *uc)
|
||||
static wontreturn void fpecatch(int n, siginfo_t *si, void *uc)
|
||||
{
|
||||
const char *emsg[10];
|
||||
emsg[0] = "Unknown error";
|
||||
|
|
2
third_party/chibicc/chibicc.c
vendored
2
third_party/chibicc/chibicc.c
vendored
|
@ -681,7 +681,7 @@ static void run_linker(StringArray *inputs, char *output) {
|
|||
handle_exit(run_subprocess(arr.data));
|
||||
}
|
||||
|
||||
static void OnCtrlC(int sig, siginfo_t *si, ucontext_t *ctx) {
|
||||
static void OnCtrlC(int sig, siginfo_t *si, void *ctx) {
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
|
2
third_party/lua/lunix.c
vendored
2
third_party/lua/lunix.c
vendored
|
@ -1687,7 +1687,7 @@ static int LuaUnixSigprocmask(lua_State *L) {
|
|||
}
|
||||
}
|
||||
|
||||
static void LuaUnixOnSignal(int sig, siginfo_t *si, ucontext_t *ctx) {
|
||||
static void LuaUnixOnSignal(int sig, siginfo_t *si, void *ctx) {
|
||||
int type;
|
||||
lua_State *L = GL;
|
||||
STRACE("LuaUnixOnSignal(%G)", sig);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue