aboutsummaryrefslogtreecommitdiff
path: root/elf/dl-tsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/dl-tsd.c')
-rw-r--r--elf/dl-tsd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/elf/dl-tsd.c b/elf/dl-tsd.c
index c60cd1a760..f44fa7d365 100644
--- a/elf/dl-tsd.c
+++ b/elf/dl-tsd.c
@@ -27,8 +27,8 @@
/* _dl_error_catch_tsd points to this for the single-threaded case.
It's reset by the thread library for multithreaded programs
if we're not using __thread. */
-static void ** __attribute__ ((const))
-startup_error_tsd (void)
+void ** __attribute__ ((const))
+_dl_initial_error_catch_tsd (void)
{
# if USE___THREAD
static __thread void *data;
@@ -38,7 +38,7 @@ startup_error_tsd (void)
return &data;
}
void **(*_dl_error_catch_tsd) (void) __attribute__ ((const))
- = &startup_error_tsd;
+ = &_dl_initial_error_catch_tsd;
# elif USE___THREAD