]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lsclocks: stop using MAX_CLOCKS
authorThomas Weißschuh <thomas@t-8ch.de>
Tue, 19 Aug 2025 16:13:02 +0000 (18:13 +0200)
committerThomas Weißschuh <thomas@t-8ch.de>
Wed, 20 Aug 2025 06:41:15 +0000 (08:41 +0200)
commit6ab940b1b7743ae6bf032f37389f8c3390f048eb
treebd1d52af1580546b0922f983b33876b52e9d3414
parentd3c49ee062f761cb4ad272c1300ebb5dfd932c9a
lsclocks: stop using MAX_CLOCKS

MAX_CLOCKS is only available in the kernel UAPI headers and not libc
headers. Switch back to a hardcoded value. This value is a stable ABI
anyways and matches the other fallback definitions.

Fixes: d3c49ee062f7 ("lsclocks: use MAX_CLOCKS, improve indention")
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
misc-utils/lsclocks.c