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:
Gregory Nutt
2019-12-01 13:01:16 -06:00
parent 91d04837e9
commit d2af57169b
17 changed files with 23 additions and 10 deletions
+1
View File
@@ -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;