]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libuuid: refactor gregorian_to_unix to populate timeval directly
authorKiran Rangoon <kiranrangoon0@gmail.com>
Mon, 29 Dec 2025 03:50:58 +0000 (22:50 -0500)
committerThomas Weißschuh <thomas@t-8ch.de>
Mon, 29 Dec 2025 13:43:31 +0000 (14:43 +0100)
commit49dcd5e635ffeaf8417a06337c31ccdd0ac68ae2
tree31cce50c6ea962ccbe464867b2973af3d35a1c47
parent75899c802366466ee988c0080202719bbd97747d
libuuid: refactor gregorian_to_unix to populate timeval directly

Change function signature to take struct timeval pointer and populate
it directly, eliminating duplicate conversion code in callers.

Signed-off-by: Kiran Rangoon <kiranrangoon0@gmail.com>
Reviewed-by: Thomas Weißschuh <thomas@t-8ch.de>
libuuid/src/uuid_time.c