mirror of
https://github.com/apache/nuttx.git
synced 2026-10-07 22:35:22 +00:00
sched/wdog: Change the return type of wd_gettime from int to sclock_t
to handle 64bits sclock_t correctly Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
753aa98ca7
commit
5b0b4bd586
3 changed files with 7 additions and 5 deletions
|
|
@ -160,7 +160,7 @@ int wd_cancel(FAR struct wdog_s *wdog);
|
|||
*
|
||||
****************************************************************************/
|
||||
|
||||
int wd_gettime(FAR struct wdog_s *wdog);
|
||||
sclock_t wd_gettime(FAR struct wdog_s *wdog);
|
||||
|
||||
#undef EXTERN
|
||||
#ifdef __cplusplus
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue