From 09ce31eddfd87aab73ad7a7e92d3cb27e35199ac Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Mon, 15 Mar 2021 17:22:15 -0300 Subject: 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. --- signal/allocrtsig.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'signal') 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 @@ . */ #include - -/* Another sysdeps file can #define this and then #include this file. */ -#ifndef RESERVED_SIGRT -# define RESERVED_SIGRT 0 -#endif +#include /* 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) -- cgit 1.4.1