freebsd-dev/libexec/rbootd
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
..
bpf.c o __P removal 2002-02-07 23:57:01 +00:00
conf.c
defs.h
Makefile Make WARNS=6 the default for libexec/. 2010-01-02 09:50:19 +00:00
parseconf.c Spelling fixes for libexec/ 2012-01-07 16:09:54 +00:00
pathnames.h
rbootd.8 mdoc: fix .Bl -offset. 2012-05-23 20:22:09 +00:00
rbootd.c Rework all non-contributed files that use `struct timezone'. 2012-09-01 14:45:15 +00:00
rmp_var.h
rmp.h Merge conflicts and make this compile -Wall clean. 1997-06-29 19:00:29 +00:00
rmpproto.c Rework all non-contributed files that use `struct timezone'. 2012-09-01 14:45:15 +00:00
utils.c In libexec/rbootd/utils.c, use the correct printf length modifiers for 2011-12-16 16:29:51 +00:00