mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:37:34 +00:00
Kernel: Remove "restorer" field from SignalActionData.
I was originally implementing signals by looking at some man page about sigaction() to see how it works. It seems like the restorer thingy is system-specific and not required by POSIX, so let's get rid of it.
This commit is contained in:
parent
5562ab3f5a
commit
5f63f8120c
6 changed files with 0 additions and 7 deletions
|
@ -232,7 +232,6 @@ int main(int argc, char** argv)
|
|||
sa.sa_handler = handle_sigint;
|
||||
sa.sa_flags = 0;
|
||||
sa.sa_mask = 0;
|
||||
sa.sa_restorer = nullptr;
|
||||
int rc = sigaction(SIGINT, &sa, nullptr);
|
||||
assert(rc == 0);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue