Peter Hutterer
4fd5fe9d30
Fix clang-tidy false positives
...
Array out of bounds complaints but it's a false positive where
clang-tidy makes up some event flow that cannot happen.
Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1358 >
2025-11-06 23:31:27 +00:00
Peter Hutterer
2a1095924b
Run clang-format over the code
...
This uses the .clang-format file in the follow-up commit, but committed
prior to that to ease review of said file and various integrations.
Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1246 >
2025-07-01 16:42:44 +10:00
Peter Hutterer
047557b7f0
Define the versionsort overrides as inlines
...
Squashes compiler warnings about unused functions given this header is
included in multiple files.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2021-07-28 12:50:11 +10:00
Greg V
db2dd43c86
Add versionsort test
...
And make local versionsort testable even when the native one is present.
2018-07-19 22:29:00 +03:00
Greg V
f8b412052e
Import versionsort implementation from musl for systems without versionsort
...
versionsort is a GNU extension, not available on *BSD systems.
2018-07-16 13:44:11 +03:00