aboutsummaryrefslogtreecommitdiff
path: root/htl/pt-dealloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'htl/pt-dealloc.c')
-rw-r--r--htl/pt-dealloc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/htl/pt-dealloc.c b/htl/pt-dealloc.c
index 13417df..7a90302 100644
--- a/htl/pt-dealloc.c
+++ b/htl/pt-dealloc.c
@@ -23,6 +23,7 @@
#include <pt-internal.h>
#include <atomic.h>
+#include <ldsodefs.h>
/* List of thread structures corresponding to free thread IDs. */
extern struct __pthread *__pthread_free_threads;
@@ -55,6 +56,7 @@ __pthread_dealloc (struct __pthread *pthread)
__pthread_enqueue (&__pthread_free_threads, pthread);
__pthread_mutex_unlock (&__pthread_free_threads_lock);
}
+libc_hidden_def (__pthread_dealloc)
/* Confirm deallocation of the thread structure for PTHREAD. */
void
@@ -69,3 +71,4 @@ __pthread_dealloc_finish (struct __pthread *pthread)
which reads this variable. */
pthread->terminated = TRUE;
}
+libc_hidden_def (__pthread_dealloc_finish)