posix: doc: hide internal posix_clock.h functions from doxygen

Prevent doxygen from parsing internal functions declared in
posix_clock.h .

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
This commit is contained in:
Chris Friedt 2025-04-23 09:19:33 -04:00 committed by Benjamin Cabé
commit d40be58093

View file

@ -16,6 +16,8 @@
#include <zephyr/sys_clock.h> #include <zephyr/sys_clock.h>
#include <zephyr/sys/__assert.h> #include <zephyr/sys/__assert.h>
/** @cond INTERNAL_HIDDEN */
static inline bool timespec_is_valid(const struct timespec *ts) static inline bool timespec_is_valid(const struct timespec *ts)
{ {
__ASSERT_NO_MSG(ts != NULL); __ASSERT_NO_MSG(ts != NULL);
@ -26,6 +28,8 @@ uint32_t timespec_to_timeoutms(clockid_t clock_id, const struct timespec *abstim
__syscall int __posix_clock_get_base(clockid_t clock_id, struct timespec *ts); __syscall int __posix_clock_get_base(clockid_t clock_id, struct timespec *ts);
/** INTERNAL_HIDDEN @endcond */
#include <zephyr/syscalls/posix_clock.h> #include <zephyr/syscalls/posix_clock.h>
#endif #endif