aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/siglist.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/gen/siglist.c')
-rw-r--r--lib/libc/gen/siglist.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libc/gen/siglist.c b/lib/libc/gen/siglist.c
index be6334dd4055..e6987d5795d0 100644
--- a/lib/libc/gen/siglist.c
+++ b/lib/libc/gen/siglist.c
@@ -107,3 +107,4 @@ const char *const sys_siglist[NSIG] = {
"User defined signal 1", /* SIGUSR1 */
"User defined signal 2" /* SIGUSR2 */
};
+const int sys_nsig = sizeof(sys_siglist) / sizeof(sys_siglist[0]);