mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-28 00:02:28 +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
|
@ -73,13 +73,13 @@ void SkipOverFaultingInstruction(struct ucontext *ctx) {
|
|||
#endif
|
||||
}
|
||||
|
||||
void OnSigSegv(int sig, struct siginfo *si, void *vctx) {
|
||||
void OnSigSegv(int sig, siginfo_t *si, void *vctx) {
|
||||
struct ucontext *ctx = vctx;
|
||||
gotsegv = true;
|
||||
SkipOverFaultingInstruction(ctx);
|
||||
}
|
||||
|
||||
void OnSigBus(int sig, struct siginfo *si, void *vctx) {
|
||||
void OnSigBus(int sig, siginfo_t *si, void *vctx) {
|
||||
struct ucontext *ctx = vctx;
|
||||
gotbusted = true;
|
||||
SkipOverFaultingInstruction(ctx);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue