mirror of
https://github.com/apache/nuttx.git
synced 2026-06-01 16:59:28 +08:00
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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user