From 31bb4fe06e7ed828274fbda196d8e5eb72bb8301 Mon Sep 17 00:00:00 2001
From: Gregory Nutt
#include <time.h> -#ifdef CONFIG_TIME_EXTENDED +#if defined(CONFIG_LIBC_LOCALTIME) || defined(CONFIG_TIME_EXTENDED) FAR char *asctime(FAR const struct tm *tp); #endif@@ -4081,7 +4081,7 @@ FAR char *asctime(FAR const struct tm *tp);
#include <time.h> -#ifdef CONFIG_TIME_EXTENDED +#if defined(CONFIG_LIBC_LOCALTIME) || defined(CONFIG_TIME_EXTENDED) FAR char *ctime(FAR const time_t *timep); #endif@@ -4172,7 +4172,7 @@ FAR struct tm *localtime_r(FAR const time_t *timep, FAR struct tm *result);
#include <time.h> -#ifdef CONFIG_TIME_EXTENDED +#if defined(CONFIG_LIBC_LOCALTIME) || defined(CONFIG_TIME_EXTENDED) FAR char *asctime_r(FAR const struct tm *tp, FAR char *buf); #endif@@ -4204,7 +4204,8 @@ FAR char *asctime_r(FAR const struct tm *tp, FAR char *buf);
#include <time.h> -#ifdef CONFIG_TIME_EXTENDED +#if defined(CONFIG_LIBC_LOCALTIME) || defined(CONFIG_TIME_EXTENDED) +FAR char *ctime_r(FAR const time_t *timep, FAR char *buf); #endif