This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[COMMITTED PATCH] Deglobalize internal variables in timer_routines.c.
- From: Roland McGrath <roland at hack dot frob dot com>
- To: "GNU C. Library" <libc-alpha at sourceware dot org>
- Date: Mon, 2 Mar 2015 15:45:54 -0800 (PST)
- Subject: [COMMITTED PATCH] Deglobalize internal variables in timer_routines.c.
- Authentication-results: sourceware.org; auth=none
This does not affect *-*-linux-gnu configurations.
Thanks,
Roland
2015-03-02 Roland McGrath <roland@hack.frob.com>
* sysdeps/pthread/timer_routines.c
(timer_free_list, thread_free_list, thread_active_list): Make static.
--- a/sysdeps/pthread/timer_routines.c
+++ b/sysdeps/pthread/timer_routines.c
@@ -54,9 +54,9 @@ int __timer_init_failed;
struct thread_node __timer_signal_thread_rclk;
/* Lists to keep free and used timers and threads. */
-struct list_head timer_free_list;
-struct list_head thread_free_list;
-struct list_head thread_active_list;
+static struct list_head timer_free_list;
+static struct list_head thread_free_list;
+static struct list_head thread_active_list;
#ifdef __NR_rt_sigqueueinfo