aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2015-03-02 15:44:27 -0800
committerRoland McGrath <roland@hack.frob.com>2015-03-02 15:44:27 -0800
commit47465629e707a7e425fd15bf690d65c5da5bd998 (patch)
tree2f86f2d56c3e00f6b5f062ad505e843f04e6da41
parent6d08b0223aa3b3152ea7e9beb2b8f2a151b43109 (diff)
downloadglibc-47465629e707a7e425fd15bf690d65c5da5bd998.tar
glibc-47465629e707a7e425fd15bf690d65c5da5bd998.tar.gz
glibc-47465629e707a7e425fd15bf690d65c5da5bd998.tar.bz2
glibc-47465629e707a7e425fd15bf690d65c5da5bd998.zip
Deglobalize internal variables in timer_routines.c.
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/pthread/timer_routines.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 0412b046ce..d59e1db72e 100644
--- 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]
diff --git a/sysdeps/pthread/timer_routines.c b/sysdeps/pthread/timer_routines.c
index f2d48f9fc4..e0f31156bf 100644
--- 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