1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-19 10:53:58 +00:00
freebsd/release
Ed Schouten 902d9eafbf Rework all non-contributed files that use `struct timezone'.
This structure is not part of POSIX. According to POSIX, gettimeofday()
has the following prototype:

	int gettimeofday(struct timeval *restrict tp, void *restrict tzp);

Also, POSIX states that gettimeofday() shall return 0 (as long as tzp is
not used). Remove dead error handling code. Also use NULL for a
nul-pointer instead of integer 0.

While there, change all pieces of code that only use tv_sec to use
time(3), as this provides less overhead.
2012-09-01 14:45:15 +00:00
..
amd64
doc Document update of 802.11s IE identifiers. 2012-08-24 13:55:22 +00:00
i386
ia64
pc98
picobsd Rework all non-contributed files that use `struct timezone'. 2012-09-01 14:45:15 +00:00
powerpc
scripts
sparc64
generate-release.sh Use getopts instead of getopt(1). 2012-01-15 09:27:00 +00:00
Makefile Make sure not to tar up CVS directories if this ports tree is a CVS 2012-03-09 02:23:03 +00:00
rc.local - Set TERM to cons25w on pc98 because we still use old cons25w terminal 2012-02-07 10:59:19 +00:00