summaryrefslogtreecommitdiffstats
path: root/contrib/bind/port/freebsd
diff options
context:
space:
mode:
authorasmodai <asmodai@FreeBSD.org>2001-07-30 17:07:12 +0000
committerasmodai <asmodai@FreeBSD.org>2001-07-30 17:07:12 +0000
commitc037d1528ac787264201589821dfca52a991df84 (patch)
treedc760cb385fa72432c4989cc9afb65dc88c49031 /contrib/bind/port/freebsd
parent635801f2ed30a54a361156e6955a3e391ec79353 (diff)
downloadFreeBSD-src-c037d1528ac787264201589821dfca52a991df84.zip
FreeBSD-src-c037d1528ac787264201589821dfca52a991df84.tar.gz
Fix build.
I am not sure who thought that making FreeBSD depend on ISC's libbsd was a sensible thing to do. Thus I have ripped out the define of gettimeofday() and isc__gettimeofday() out of this file, since we: 1) Don't use nor build libbsd (FreeBSD might give a hint in its name as to why) 2) Our gettimeofday() is the same in semantics as prototyped in ISC's libbsd. This was something which could have been fixed before it was released if we had at least some insight into the development process. But my praying fell on deaf ears it seems. Of course, if I am wrong I welcome the corrections to my thinking, gladly even.
Diffstat (limited to 'contrib/bind/port/freebsd')
-rw-r--r--contrib/bind/port/freebsd/include/port_after.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/contrib/bind/port/freebsd/include/port_after.h b/contrib/bind/port/freebsd/include/port_after.h
index 1c06dd1..7af0dd9 100644
--- a/contrib/bind/port/freebsd/include/port_after.h
+++ b/contrib/bind/port/freebsd/include/port_after.h
@@ -80,7 +80,4 @@ 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 */
OpenPOWER on IntegriCloud