移除localtime_r多余的声明 (#5590)

This commit is contained in:
Man, Jianting (Meco) 2022-02-10 05:19:33 -05:00 committed by GitHub
parent 6d0caf7bfc
commit d4b5555b7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -274,7 +274,6 @@ RT_WEAK rt_size_t ulog_formater(char *log_buf, rt_uint32_t level, const char *ta
/* add time info */
{
#ifdef ULOG_TIME_USING_TIMESTAMP
extern struct tm* localtime_r(const time_t* t, struct tm* r);
static struct timeval now;
static struct tm *tm, tm_tmp;
static rt_bool_t check_usec_support = RT_FALSE, usec_is_support = RT_FALSE;