Branch: refs/heads/main Home: https://github.com/OpenAMP/libmetal Commit: 71c2fb3643461e93b6638c3e7add97a2ed9d3e07 https://github.com/OpenAMP/libmetal/commit/71c2fb3643461e93b6638c3e7add97a2e... Author: chao an anchao.archer@bytedance.com Date: 2025-10-16 (Thu, 16 Oct 2025)
Changed paths: M lib/system/nuttx/time.c
Log Message: ----------- libmetal/nuttx: Update function prototype changes
clock_systime_timespec() always returns 0, so there is no need to check the return value in the caller code, let us remove the return value directly.
From: int clock_systime_timespec(FAR struct timespec *ts) To: void clock_systime_timespec(FAR struct timespec *ts)
Fix build break:
libmetal/lib/system/nuttx/time.c: In function ‘metal_get_timestamp’: libmetal/lib/system/nuttx/time.c:21:11: error: void value not ignored as it ought to be 21 | r = clock_systime_timespec(&tp); | ^ make[1]: *** [Makefile:46: libmetal/lib/system/nuttx/time.o] Error 1
Signed-off-by: chao an anchao.archer@bytedance.com
To unsubscribe from these emails, change your notification settings at https://github.com/OpenAMP/libmetal/settings/notifications
openamp-rp@lists.openampproject.org