summary refs log tree commit diff
path: root/elf/dl-close.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/dl-close.c')
-rw-r--r--elf/dl-close.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/elf/dl-close.c b/elf/dl-close.c
index 5c7e5dad38..8eefb351b2 100644
--- a/elf/dl-close.c
+++ b/elf/dl-close.c
@@ -333,6 +333,7 @@ _dl_close (void *_map)
 }
 
 
+#ifdef USE_TLS
 static bool
 free_slotinfo (struct dtv_slotinfo_list *elemp)
 {
@@ -355,6 +356,7 @@ free_slotinfo (struct dtv_slotinfo_list *elemp)
 
   return true;
 }
+#endif
 
 
 static void