Remove TIME_EXTENDED option to more conform C standard

Gregory Nutt <gnutt@nuttx.org>

    Run all .c and .h files modified in this PR through nxstyle and correct all coding standard problems.

Xiang Xiao <xiaoxiang@xiaomi.com>

    Remove TIME_EXTENDED option to more conform C standard

    Note: the code/data size increment is small
This commit is contained in:
Xiang Xiao
2020-01-23 08:17:22 -06:00
committed by Gregory Nutt
parent c09071ffe8
commit 1e3f457c9e
33 changed files with 145 additions and 244 deletions
-3
View File
@@ -45,8 +45,6 @@
#include <nuttx/time.h>
#if defined(CONFIG_TIME_EXTENDED)
/****************************************************************************
* Pre-processor Definitions
****************************************************************************/
@@ -107,4 +105,3 @@ int clock_dayoftheweek(int mday, int month, int year)
return (mday + year + year / 4 - year / 100 + year / 400 +
(31 * month) / 12) % 7;
}
#endif /* CONFIG_TIME_EXTENDED */