]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Deglobalize internal variables in timer_routines.c.
authorRoland McGrath <roland@hack.frob.com>
Mon, 2 Mar 2015 23:44:27 +0000 (15:44 -0800)
committerRoland McGrath <roland@hack.frob.com>
Mon, 2 Mar 2015 23:44:27 +0000 (15:44 -0800)
ChangeLog
sysdeps/pthread/timer_routines.c

index 0412b046cede320e1a7bc60b98c0cfbc348dfd65..d59e1db72ee918cb556fdbae79a1b0def410d917 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+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.
+
 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
 
        [BZ #17779]
index f2d48f9fc496202760cfb8e8acc672b140d75015..e0f31156bffb431953ca9d92a3f671ad06438b5f 100644 (file)
@@ -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