summaryrefslogtreecommitdiff
path: root/lib/libc/net/res_init.c
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1996-12-30 13:18:48 +0000
committerPeter Wemm <peter@FreeBSD.org>1996-12-30 13:18:48 +0000
commitca785773f6a4b166750711bfe0fec4ebc2e2da4e (patch)
tree95acb64999d1c2cf1eac009cfb040c2ee06fcf9f /lib/libc/net/res_init.c
parentf3f42e9672f83ec0e339719dafe52e9af3ac01fa (diff)
Notes
Diffstat (limited to 'lib/libc/net/res_init.c')
-rw-r--r--lib/libc/net/res_init.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/libc/net/res_init.c b/lib/libc/net/res_init.c
index aeb021f72a84..7fd1a0e64e82 100644
--- a/lib/libc/net/res_init.c
+++ b/lib/libc/net/res_init.c
@@ -55,7 +55,7 @@
#if defined(LIBC_SCCS) && !defined(lint)
static char sccsid[] = "@(#)res_init.c 8.1 (Berkeley) 6/7/93";
-static char rcsid[] = "$Id: res_init.c,v 8.5 1996/08/05 08:31:35 vixie Exp $";
+static char rcsid[] = "$Id: res_init.c,v 1.9 1996/08/30 21:13:35 peter Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
@@ -87,7 +87,11 @@ static u_int32_t net_mask __P((struct in_addr));
* Resolver state default settings.
*/
-struct __res_state _res;
+struct __res_state _res
+# if defined(__BIND_RES_TEXT)
+ = { RES_TIMEOUT, } /* Motorola, et al. */
+# endif
+ ;
/*
* Set up default settings. If the configuration file exist, the values
@@ -444,7 +448,7 @@ net_mask(in) /* XXX - should really use system's version of this */
}
#endif
-u_int16_t
+u_int
res_randomid()
{
struct timeval now;