Favor siginfo_t over struct siginfo

This commit is contained in:
Justine Tunney 2024-05-28 02:34:17 -07:00
parent c638eabfe0
commit deaef81463
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
20 changed files with 37 additions and 39 deletions

View file

@ -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;
}