1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-30 12:04:07 +00:00
freebsd/release/picobsd/tinyware
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
..
aps Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
help Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
login Rework all non-contributed files that use `struct timezone'. 2012-09-01 14:45:15 +00:00
msg silence compiler complaints 2007-11-26 05:03:55 +00:00
msh
ns fix various build errors (missing or wrong return types for 2009-04-27 16:57:19 +00:00
oinit Convert {small prefix}BSD to TERM=xterm as well. 2009-11-13 11:32:14 +00:00
passwd Remove dead code. 2012-06-12 15:32:14 +00:00
simple_httpd Spelling fixes for release/ 2012-01-07 16:09:43 +00:00
sps Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
view Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
vm - Revert signedness type changes to "struct vmtotal"; by making 2006-11-28 12:46:02 +00:00