summaryrefslogtreecommitdiff
path: root/resolv/resolv-internal.h
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2017-06-23 17:52:55 +0200
committerFlorian Weimer <fweimer@redhat.com>2017-06-23 17:52:55 +0200
commitb1e7c13cc58572600809d5173fed2c00c38af2e7 (patch)
tree13a8e71fd2b8279f334d948822bc1923ffad4a88 /resolv/resolv-internal.h
parent3ec7c02cc3e922b9364dc8cfd1d4546671b91003 (diff)
resolv: Clean up declarations of the __res_initstamp variable
Diffstat (limited to 'resolv/resolv-internal.h')
-rw-r--r--resolv/resolv-internal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/resolv/resolv-internal.h b/resolv/resolv-internal.h
index 9afaa07d8b..5a9faf8de9 100644
--- a/resolv/resolv-internal.h
+++ b/resolv/resolv-internal.h
@@ -65,4 +65,7 @@ int __res_nopt (res_state, int n0, unsigned char *buf, int buflen,
int __inet_pton_length (int af, const char *src, size_t srclen, void *);
libc_hidden_proto (__inet_pton_length)
+/* Used to propagate the effect of res_init calls across threads. */
+extern unsigned long long int __res_initstamp attribute_hidden;
+
#endif /* _RESOLV_INTERNAL_H */