about summary refs log tree commit diff
path: root/signal
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-03-15 17:22:15 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-03-26 13:37:18 -0300
commit09ce31eddfd87aab73ad7a7e92d3cb27e35199ac (patch)
treeb080fd2f57ed4b09d79c5a47aefcdb61e4cde5ed /signal
parent70a1e36cbea1463325933a5e622da7bd66a9bdab (diff)
downloadglibc-09ce31eddfd87aab73ad7a7e92d3cb27e35199ac.tar.gz
glibc-09ce31eddfd87aab73ad7a7e92d3cb27e35199ac.tar.xz
glibc-09ce31eddfd87aab73ad7a7e92d3cb27e35199ac.zip
nptl: Remove __libc_allocate_rtsig, __libc_current_sigrtmax, and __libc_current_sigrtmin
The libc version is identical and built with same flags.

Checked on x86_64-linux-gnu.
Diffstat (limited to 'signal')
-rw-r--r--signal/allocrtsig.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/signal/allocrtsig.c b/signal/allocrtsig.c
index 5e847695e2..b79aed5f8a 100644
--- a/signal/allocrtsig.c
+++ b/signal/allocrtsig.c
@@ -18,11 +18,7 @@
    <https://www.gnu.org/licenses/>.  */
 
 #include <signal.h>
-
-/* Another sysdeps file can #define this and then #include this file.  */
-#ifndef RESERVED_SIGRT
-# define RESERVED_SIGRT 0
-#endif
+#include <internal-signals.h>
 
 /* In these variables we keep track of the used variables.  If the
    platform does not support any real-time signals we will define the
@@ -44,7 +40,6 @@ __libc_current_sigrtmin (void)
 #endif
 }
 libc_hidden_def (__libc_current_sigrtmin)
-strong_alias (__libc_current_sigrtmin, __libc_current_sigrtmin_private)
 
 /* Return number of available real-time signal with lowest priority.  */
 int
@@ -57,7 +52,6 @@ __libc_current_sigrtmax (void)
 #endif
 }
 libc_hidden_def (__libc_current_sigrtmax)
-strong_alias (__libc_current_sigrtmax, __libc_current_sigrtmax_private)
 
 /* Allocate real-time signal with highest/lowest available
    priority.  Please note that we don't use a lock since we assume
@@ -75,4 +69,3 @@ __libc_allocate_rtsig (int high)
   return high ? current_rtmin++ : current_rtmax--;
 #endif
 }
-strong_alias (__libc_allocate_rtsig, __libc_allocate_rtsig_private)