freebsd-dev/usr.sbin/inetd
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
..
builtins.c Rework all non-contributed files that use `struct timezone'. 2012-09-01 14:45:15 +00:00
inetd.8 o inetd(8) requires wait/nowait column in inetd.conf for 2008-01-12 21:09:48 +00:00
inetd.c Replace the use of wall clock time with monotonically increasing 2012-06-04 18:02:09 +00:00
inetd.h Replace the use of wall clock time with monotonically increasing 2012-06-04 18:02:09 +00:00
Makefile The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
pathnames.h