1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:57:35 +00:00

LibC: Use NSIG instead of hard-coding 32 as the signal count

This commit is contained in:
Andreas Kling 2020-10-29 12:46:09 +01:00
parent 69845ae460
commit 662959b173

View file

@ -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)
{