diff options
author | Florian Weimer <fweimer@redhat.com> | 2018-06-26 15:13:54 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2018-06-26 15:27:12 +0200 |
commit | 124e025864bb39732c71fc60c1443d5680881a0a (patch) | |
tree | 2af69c84acc461764f9b8873089b3277b22725c0 /resolv/resolv-internal.h | |
parent | 935d920e763626dbcbbf655117285d1d270791a1 (diff) |
Run thread shutdown functions in an explicit order
This removes the __libc_thread_subfreeres hook in favor of explict
calls.
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'resolv/resolv-internal.h')
-rw-r--r-- | resolv/resolv-internal.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/resolv/resolv-internal.h b/resolv/resolv-internal.h index ac6e495927..b8e447c726 100644 --- a/resolv/resolv-internal.h +++ b/resolv/resolv-internal.h @@ -97,4 +97,7 @@ int __res_nopt (struct resolv_context *, int n0, int __inet_pton_length (int af, const char *src, size_t srclen, void *); libc_hidden_proto (__inet_pton_length) +/* Called as part of the thread shutdown sequence. */ +void __res_thread_freeres (void) attribute_hidden; + #endif /* _RESOLV_INTERNAL_H */ |