aboutsummaryrefslogtreecommitdiff
path: root/resolv/resolv.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-07-29 18:08:15 +0000
committerUlrich Drepper <drepper@redhat.com>2000-07-29 18:08:15 +0000
commit497b8ef43fa893f36cd96abfe117e00e2b4854be (patch)
treec462b9900e58b8f592480f94906c479ca1e6b67f /resolv/resolv.h
parent2da345643ad4c615d36f9b11a41d77c9f12ff746 (diff)
downloadglibc-497b8ef43fa893f36cd96abfe117e00e2b4854be.tar
glibc-497b8ef43fa893f36cd96abfe117e00e2b4854be.tar.gz
glibc-497b8ef43fa893f36cd96abfe117e00e2b4854be.tar.bz2
glibc-497b8ef43fa893f36cd96abfe117e00e2b4854be.zip
Update.
2000-07-28 Philip Blundell <philb@gnu.org> * math/test-fpucw.c: Ignore reserved bits in control word. 2000-07-28 Philip Blundell <philb@gnu.org> * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_RET): New macro. (ret): Redefine to PSEUDO_RET. (PSEUDO): Remove jump to syscall_error. 2000-07-29 Mark Kettenis <kettenis@gnu.org> * resolv/README: Add some information about using the resolver in multi-threaded code and with C++. Spelling fixes. 2000-07-29 Mark Kettenis <kettenis@gnu.org> * resolv/resolv.h (struct __sockaddr_in): Remove. (struct __res_state) [!_LIBC]: Remove reference to __sockaddr_in. * sysdeps/powerpc/backtrace.c (struct layout): Make pointers __unbounded.
Diffstat (limited to 'resolv/resolv.h')
-rw-r--r--resolv/resolv.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/resolv/resolv.h b/resolv/resolv.h
index 4f505a2199..74a55ef0fb 100644
--- a/resolv/resolv.h
+++ b/resolv/resolv.h
@@ -123,16 +123,6 @@ struct res_sym {
#define RES_DFLRETRY 2 /* Default #/tries. */
#define RES_MAXTIME 65535 /* Infinity, in milliseconds. */
-/*
- * Like "struct sockaddr_in", but without any padding (to avoid making
- * "struct __rest_state" too large).
- */
-struct __sockaddr_in {
- __SOCKADDR_COMMON (sin_);
- in_port_t sin_port;
- struct in_addr sin_addr;
-};
-
struct __res_state {
int retrans; /* retransmition time interval */
int retry; /* number of times to retransmit */
@@ -163,12 +153,8 @@ struct __res_state {
u_int16_t nscount;
u_int16_t nstimes[MAXNS]; /* ms. */
int nssocks[MAXNS];
-#ifdef _LIBC
u_int16_t nscount6;
struct sockaddr_in6 *nsaddrs[MAXNS];
-#else
- struct __sockaddr_in nsaddrs[MAXNS];
-#endif
} _ext;
} _u;
};