mirror of
https://github.com/apache/nuttx.git
synced 2026-08-17 02:13:19 +00:00
change clockid_t type from uint8_t to int
make the clock_getres pass the ltp/open_posix_testsuite/clock_getres testcases, posix has no explain about clockid_t type, referrence linux:858fd168a9/include/linux/types.h (L27)and858fd168a9/include/uapi/asm-generic/posix_types.h (L96)Signed-off-by: yanghuatao <yanghuatao@xiaomi.com>
This commit is contained in:
parent
81553deb53
commit
2529f371ee
1 changed files with 1 additions and 1 deletions
|
|
@ -113,7 +113,7 @@ typedef uint64_t time_t; /* Holds time in seconds */
|
|||
#else
|
||||
typedef uint32_t time_t; /* Holds time in seconds */
|
||||
#endif
|
||||
typedef uint8_t clockid_t; /* Identifies one time base source */
|
||||
typedef int clockid_t; /* Identifies one time base source */
|
||||
typedef FAR void *timer_t; /* Represents one POSIX timer */
|
||||
|
||||
/* struct timespec is the standard representation of time as seconds and
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue