mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 03:17:35 +00:00
LibC: Use NSIG instead of hard-coding 32 as the signal count
This commit is contained in:
parent
69845ae460
commit
662959b173
1 changed files with 1 additions and 1 deletions
|
@ -223,7 +223,7 @@ static const char* signal_names[] = {
|
|||
"SYS",
|
||||
};
|
||||
|
||||
static_assert(sizeof(signal_names) == sizeof(const char*) * 32);
|
||||
static_assert(sizeof(signal_names) == sizeof(const char*) * NSIG);
|
||||
|
||||
int getsignalbyname(const char* name)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue