summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/timer_routines.c
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2021-06-03 21:01:27 +0200
committerFlorian Weimer <fweimer@redhat.com>2021-06-03 22:07:54 +0200
commitb5346868eee22836bce235cf995db1305567ded6 (patch)
tree73d7f506608a5b8e9a18477eb5b18f9fceccb5ee /sysdeps/unix/sysv/linux/timer_routines.c
parente6c1385ce84c9896e0ad51cd9db326a0191bf160 (diff)
downloadglibc-fw/librt.tar.gz
Linux: Cleanups after librt movefw/librt
librt.so is no longer installed for PTHREAD_IN_LIBC, and tests are not linked against it. GLIBC_PRIVATE symbols that were needed during the transition are removed again.
Diffstat (limited to 'sysdeps/unix/sysv/linux/timer_routines.c')
-rw-r--r--sysdeps/unix/sysv/linux/timer_routines.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/sysdeps/unix/sysv/linux/timer_routines.c b/sysdeps/unix/sysv/linux/timer_routines.c
index 8d8c1a1e76..ccf83f2cf4 100644
--- a/sysdeps/unix/sysv/linux/timer_routines.c
+++ b/sysdeps/unix/sysv/linux/timer_routines.c
@@ -26,13 +26,10 @@
/* List of active SIGEV_THREAD timers. */
-struct timer *__timer_active_sigev_thread __attribute__ ((nocommon));
-libc_hidden_data_def (__timer_active_sigev_thread)
+struct timer *__timer_active_sigev_thread;
/* Lock for _timer_active_sigev_thread. */
-pthread_mutex_t __timer_active_sigev_thread_lock __attribute__ ((nocommon))
- = PTHREAD_MUTEX_INITIALIZER;
-libc_hidden_data_def (__timer_active_sigev_thread_lock)
+pthread_mutex_t __timer_active_sigev_thread_lock = PTHREAD_MUTEX_INITIALIZER;
struct thread_start_data
{
@@ -112,12 +109,10 @@ timer_helper_thread (void *arg)
/* Control variable for helper thread creation. */
pthread_once_t __timer_helper_once __attribute__ ((nocommon))
= PTHREAD_ONCE_INIT;
-libc_hidden_data_def (__timer_helper_once)
/* TID of the helper thread. */
pid_t __timer_helper_tid __attribute__ ((nocommon));
-libc_hidden_data_def (__timer_helper_tid)
/* Reset variables so that after a fork a new helper thread gets started. */
@@ -159,4 +154,3 @@ __timer_start_helper_thread (void)
/* No need for the attribute anymore. */
(void) __pthread_attr_destroy (&attr);
}
-libc_hidden_def (__timer_start_helper_thread)