HomeFreeBSD

dhclient: Switch timeouts from time_t to timespec

Description

dhclient: Switch timeouts from time_t to timespec

Introduce a new function, add_timeout_timespec(), to use timespec
structs to handle timeouts. Make add_timeout() into a wrapper for the
latter function to retain compatibility with the rest of the codebase.
No functional change intended.

Sponsored by: Google LLC (GSoC 2024)
Signed-off-by: Isaac Cilia Attard <icattard@FreeBSD.org>
MFC after: 10 days
Reviwed by: cperciva, brooks, Tom Hukins, Alexander Ziaee
Pull Request: https://github.com/freebsd/freebsd-src/pull/1368

Details

Provenance
iciliaat_gmail.comAuthored on Jul 8 2024, 5:43 AM
cpercivaCommitted on Aug 9 2024, 9:45 PM
Parents
rG45d4e82bf61f: msdosfs: fix cluster limit when mounting FAT-16 file systems
Branches
Unknown
Tags
Unknown