Am 2024-03-06 18:29, schrieb Baptiste Daroussin:
The branch main has been updated by bapt:URL: https://cgit.FreeBSD.org/src/commit/?id=0ecf0b26a750582b804e238e6446db55188d7fdccommit 0ecf0b26a750582b804e238e6446db55188d7fdc Author: Baptiste Daroussin <[email protected]> AuthorDate: 2024-03-06 17:28:02 +0000 Commit: Baptiste Daroussin <[email protected]> CommitDate: 2024-03-06 17:28:02 +0000 timerfd_create: fix after cf742faa39a58a9b43b671c66097e6880459d4ae Remove the include that crept in by accident Clang complains about CLOCK_BOOTTIME being the same for now as CLOCK_UPTIME, so remove CLOCK_BOOTTIME and leave a comment for what to do when CLOCK_BOOTTIME will be different for real.
What about a compile time assert CLOCK_BOOTTIME == CLOCK_UPTIME, to make sure that someone knows to look at this piece if they want to make it different for other reasons?
Bye, Alexander. -- http://www.Leidinger.net [email protected]: PGP 0x8F31830F9F2772BF http://www.FreeBSD.org [email protected] : PGP 0x8F31830F9F2772BF
signature.asc
Description: OpenPGP digital signature
