mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-03 08:08:43 +00:00
LibC: Use NSIG instead of hard-coding 32 as the signal count
This commit is contained in:
parent
69845ae460
commit
662959b173
Notes:
sideshowbarker
2024-07-19 01:39:08 +09:00
Author: https://github.com/awesomekling
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