mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-06 11:18:30 +00:00
Favor siginfo_t over struct siginfo
This commit is contained in:
parent
c638eabfe0
commit
deaef81463
20 changed files with 37 additions and 39 deletions
|
@ -225,11 +225,11 @@ static void OnExit(void) {
|
|||
tcsetattr(out, TCSANOW, &oldterm);
|
||||
}
|
||||
|
||||
static void OnSigInt(int sig, struct siginfo *sa, void *uc) {
|
||||
static void OnSigInt(int sig, siginfo_t *sa, void *uc) {
|
||||
action |= INTERRUPTED;
|
||||
}
|
||||
|
||||
static void OnSigWinch(int sig, struct siginfo *sa, void *uc) {
|
||||
static void OnSigWinch(int sig, siginfo_t *sa, void *uc) {
|
||||
action |= RESIZED;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue