Remove CONFIG_TIME_EXTENDED conditioning
Remove CONFIG_TIME_EXTENDED related stuff since kernel remove this option
This commit is contained in:
parent
285f7b4072
commit
fd3775e068
@ -308,7 +308,6 @@ config THTTPD_TILDE_MAP2
|
||||
config THTTPD_GENERATE_INDICES
|
||||
bool "Generate name indices"
|
||||
default n
|
||||
select TIME_EXTENDED
|
||||
---help---
|
||||
|
||||
config THTTPD_USE_URLPATTERN
|
||||
|
@ -110,11 +110,7 @@ static inline int date_month(FAR const char *abbrev)
|
||||
#ifndef CONFIG_NSH_DISABLE_DATE
|
||||
static inline int date_showtime(FAR struct nsh_vtbl_s *vtbl, FAR const char *name)
|
||||
{
|
||||
#if defined(CONFIG_LIBC_LOCALTIME) || defined(CONFIG_TIME_EXTENDED)
|
||||
static const char format[] = "%a, %b %d %H:%M:%S %Y";
|
||||
#else
|
||||
static const char format[] = "%b %d %H:%M:%S %Y";
|
||||
#endif
|
||||
struct timespec ts;
|
||||
struct tm tm;
|
||||
char timbuf[MAX_TIME_STRING];
|
||||
|
Loading…
Reference in New Issue
Block a user