From 4764c8658fdd2787fdd421279037fe93eb05ac7c Mon Sep 17 00:00:00 2001 From: asmodai Date: Mon, 30 Jul 2001 16:51:36 +0000 Subject: Virgin import of BIND v8.2.4-REL --- contrib/bind/port/freebsd/include/port_after.h | 4 ++++ contrib/bind/port/freebsd/include/port_before.h | 1 - contrib/bind/port/freebsd/include/prand_conf.h | 10 +++++----- 3 files changed, 9 insertions(+), 6 deletions(-) (limited to 'contrib/bind/port/freebsd') diff --git a/contrib/bind/port/freebsd/include/port_after.h b/contrib/bind/port/freebsd/include/port_after.h index a05bd0f..a06bf69 100644 --- a/contrib/bind/port/freebsd/include/port_after.h +++ b/contrib/bind/port/freebsd/include/port_after.h @@ -29,6 +29,7 @@ #if (!defined(BSD)) || (BSD < 199306) #include #endif +#include /* * We need to know the IPv6 address family number even on IPv4-only systems. @@ -75,4 +76,7 @@ struct sockaddr_in6 { #define ISC_FACILITY LOG_DAEMON #endif +int isc__gettimeofday(struct timeval *tp, struct timezone *tzp); +#define gettimeofday isc__gettimeofday + #endif /* ! PORT_AFTER_H */ diff --git a/contrib/bind/port/freebsd/include/port_before.h b/contrib/bind/port/freebsd/include/port_before.h index 2791652..d90ba14 100644 --- a/contrib/bind/port/freebsd/include/port_before.h +++ b/contrib/bind/port/freebsd/include/port_before.h @@ -100,4 +100,3 @@ #define SERV_R_BAD NULL #define IRS_LCL_SV_DB - diff --git a/contrib/bind/port/freebsd/include/prand_conf.h b/contrib/bind/port/freebsd/include/prand_conf.h index 7244282..cf33196 100644 --- a/contrib/bind/port/freebsd/include/prand_conf.h +++ b/contrib/bind/port/freebsd/include/prand_conf.h @@ -3,10 +3,10 @@ #ifndef HAVE_DEV_RANDOM - # define HAVE_DEV_RANDOM 1 - #endif /* HAVE_DEV_RANDOM */ +# define HAVE_DEV_RANDOM 1 +#endif /* HAVE_DEV_RANDOM */ -const char *cmds[] = { +static const char *cmds[] = { "/bin/ps -axlw 2>&1", "/usr/sbin/arp -an 2>&1", "/usr/bin/netstat -an 2>&1", @@ -20,7 +20,7 @@ const char *cmds[] = { NULL }; -const char *dirs[] = { +static const char *dirs[] = { "/tmp", "/usr/tmp", ".", @@ -33,7 +33,7 @@ const char *dirs[] = { NULL }; -const char *files[] = { +static const char *files[] = { "/var/log/messages", "/var/log/wtmp", "/var/log/lastlog", -- cgit v1.1