about summary refs log tree commit diff
path: root/resolv/Versions
diff options
context:
space:
mode:
Diffstat (limited to 'resolv/Versions')
-rw-r--r--resolv/Versions11
1 files changed, 7 insertions, 4 deletions
diff --git a/resolv/Versions b/resolv/Versions
index 09dca6aa2a..238d579d8c 100644
--- a/resolv/Versions
+++ b/resolv/Versions
@@ -29,15 +29,18 @@ libc {
     # r*
     __res_state; __res_init; __res_nclose; __res_ninit; _res_hconf;
   }
-  GLIBC_2.3 {
+  GLIBC_PRIVATE {
+    __gai_sigqueue;
+
 %if USE_TLS && HAVE___THREAD
     # This version is for the TLS symbol, GLIBC_2.0 is the old object symbol.
     h_errno; _res;
+%else
+    # These internal aliases are solely to give libpthread access
+    # to the variables that are not directly user-visible.
+    __libc_h_errno; __libc_res;
 %endif
   }
-  GLIBC_PRIVATE {
-    __gai_sigqueue;
-  }
 }
 
 libresolv {