summaryrefslogtreecommitdiffstats
path: root/contrib/bind/port/freebsd
diff options
context:
space:
mode:
authorasmodai <asmodai@FreeBSD.org>2001-07-30 16:51:36 +0000
committerasmodai <asmodai@FreeBSD.org>2001-07-30 16:51:36 +0000
commit4764c8658fdd2787fdd421279037fe93eb05ac7c (patch)
tree575f66c4e2766172b1fb832ef43000016e089b3c /contrib/bind/port/freebsd
parentc56e32d41edb68ef6a2360025bff9df4a544e5fa (diff)
downloadFreeBSD-src-4764c8658fdd2787fdd421279037fe93eb05ac7c.zip
FreeBSD-src-4764c8658fdd2787fdd421279037fe93eb05ac7c.tar.gz
Virgin import of BIND v8.2.4-REL
Diffstat (limited to 'contrib/bind/port/freebsd')
-rw-r--r--contrib/bind/port/freebsd/include/port_after.h4
-rw-r--r--contrib/bind/port/freebsd/include/port_before.h1
-rw-r--r--contrib/bind/port/freebsd/include/prand_conf.h10
3 files changed, 9 insertions, 6 deletions
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 <sys/bitypes.h>
#endif
+#include <sys/time.h>
/*
* 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",
OpenPOWER on IntegriCloud