From 1c7d40ca5a1be9e8f98c1350d7d39a0bccabb10a Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Sun, 21 Jun 2020 00:22:54 -0700 Subject: Use SIGRTMIN and SIGRTMAX instead of __-prefixed versions --- consts.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/consts.c b/consts.c index 8f6e4d9..2484ced 100644 --- a/consts.c +++ b/consts.c @@ -40,17 +40,17 @@ get_signum_name(int sig) LIST_SIGNUMS(X) #undef X - if (__SIGRTMIN <= sig && sig <= __SIGRTMAX) { - above_low = sig - __SIGRTMIN; - below_high = __SIGRTMAX - sig; + if (SIGRTMIN <= sig && sig <= SIGRTMAX) { + above_low = sig - SIGRTMIN; + below_high = SIGRTMAX - sig; if (!above_low) - return "__SIGRTMIN"; + return "SIGRTMIN"; if (!below_high) - return "__SIGRTMAX"; + return "SIGRTMAX"; if (above_low <= below_high) - sprintf(buf, "__SIGRTMIN+%i", above_low); + sprintf(buf, "SIGRTMIN+%i", above_low); else - sprintf(buf, "__SIGRTMAX-%i", below_high); + sprintf(buf, "SIGRTMAX-%i", below_high); return buf; } -- cgit v1.2.3-70-g09d2