mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 07:12:54 +08:00
tools/nxstyle.c: Fix a rare false alarm that could occur if a variable or function name begins with the sub-string 'union' or 'struct'. misc fixes under fs/ and sched/ from application of current version of nxstyle.
This commit is contained in:
@@ -76,6 +76,7 @@ int clock_getres(clockid_t clock_id, struct timespec *res)
|
||||
case CLOCK_MONOTONIC:
|
||||
#endif
|
||||
case CLOCK_REALTIME:
|
||||
|
||||
/* Form the timspec using clock resolution in nanoseconds */
|
||||
|
||||
res->tv_sec = 0;
|
||||
|
||||
Reference in New Issue
Block a user