]> git.ipfire.org Git - thirdparty/shadow.git/commit
Remove unused autoconf check: gettimeofday(3)
authorAlejandro Colomar <alx.manpages@gmail.com>
Thu, 30 Dec 2021 13:56:52 +0000 (14:56 +0100)
committerSerge Hallyn <serge@hallyn.com>
Sat, 15 Jan 2022 14:25:53 +0000 (08:25 -0600)
commiteefaf55b1be99e1106e5927fe1c9360b940f3e44
tree66173af44de094e2e24f725ea23f37a136c07b7e
parentf741643d7557bb07c45f12b84b7c02f7165d9cda
Remove unused autoconf check: gettimeofday(3)

The macro HAVE_GETTIMEOFDAY is not being used anywhere.

BTW, the function is defined by SVr4, 4.3BSD, and POSIX.1-2001, so
it's likely that it is always available.

POSIX.1-2008 marks it as obsolete, but only because
clock_gettime(2) provides more precission.  Since gettimeofday(3)
is in use by many big projects, and it has no obvious dangers,
it's likely that it will continue to exist even if it's outside of
the POSIX standard.

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
configure.ac