diff options
author | Ulrich Drepper <drepper@redhat.com> | 2002-02-05 00:57:29 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2002-02-05 00:57:29 +0000 |
commit | 535b764df5ca722066c2db615190e6a70688c6a6 (patch) | |
tree | 06f6ba9853ac4e8f698fc1e3b0b4cb80ffd06bae /include/resolv.h | |
parent | 67ddea92542c12f2099a89dbc58a045a65bb7771 (diff) | |
download | glibc-535b764df5ca722066c2db615190e6a70688c6a6.zip glibc-535b764df5ca722066c2db615190e6a70688c6a6.tar.gz glibc-535b764df5ca722066c2db615190e6a70688c6a6.tar.bz2 |
Update.
* elf/rtld.c (_dl_start_final): Allocate TLS and initialize
thread-pointer as soon as possible.
* sysdeps/generic/ldsodefs.h: Include <tls.h>. Define first TLS
elements in rtld_global.
* sysdeps/generic/tls.h: New file.
* elf/Makefile (distribute): Add tls.h.
* sysdeps/i386/dl-machine.h (elf_machine_rel): Add support for TLS
relocations. Not complete yet.
* resolv/resolv.h: Allow user to define __need_res_state and only
define __res_start structure then.
* include/resolv.h: Only declare functions if _RESOLV_H_ is defined.
Diffstat (limited to 'include/resolv.h')
-rw-r--r-- | include/resolv.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/resolv.h b/include/resolv.h index fe79c16..d4a531f 100644 --- a/include/resolv.h +++ b/include/resolv.h @@ -10,6 +10,7 @@ #include <resolv/resolv.h> +#ifdef _RESOLV_H_ /* Now define the internal interfaces. */ extern int __res_vinit (res_state, int); extern void _sethtent (int); @@ -26,5 +27,6 @@ extern void res_send_setqhook (res_send_qhook __hook); extern void res_send_setrhook (res_send_rhook __hook); extern int res_ourserver_p (const res_state __statp, const struct sockaddr_in6 *__inp); +#endif #endif |