The replaced values of SIGRTMIN and SIGRTMAX are effectively
the return values of musl's __libc_current_sigrtmin() and
__libc_current_sigrtmax() defined in musl/src/signal/sigrtmin.c
and musl/src/signal/sigrtmax.c
Signed-off-by: Michalis Pappas <michalis@unikraft.io>
Approved-by: Andrei Tatar <andrei@unikraft.io>
Reviewed-by: Andrei Tatar <andrei@unikraft.io>
GitHub-Closes: #1244
#define __NEED_clock_t
#define __NEED_sigset_t
-#include <bits/alltypes.h>
+#include <nolibc-internal/shareddefs.h>
#define SIG_BLOCK 0
#define SIG_UNBLOCK 1
#define SIGEV_THREAD 2
#define SIGEV_THREAD_ID 4
-int __libc_current_sigrtmin(void);
-int __libc_current_sigrtmax(void);
-
-#define SIGRTMIN (__libc_current_sigrtmin())
-#define SIGRTMAX (__libc_current_sigrtmax())
+#define SIGRTMIN 35
+#define SIGRTMAX (_NSIG - 1)
int kill(pid_t, int);