mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
lint: suppress warning about obsoleteFuntionsasctime
This commit is contained in:
parent
9ba980dfd9
commit
ce075d9cbd
@ -27,6 +27,8 @@ static void _gettime_handler(void)
|
|||||||
struct tm now;
|
struct tm now;
|
||||||
rtc_get_localtime(&now);
|
rtc_get_localtime(&now);
|
||||||
|
|
||||||
|
/* cppcheck: see man 3 asctime: obsoleted by POSIX.1-2008 */
|
||||||
|
/* cppcheck-suppress obsoleteFunctionsasctime */
|
||||||
printf("%s", asctime(&now));
|
printf("%s", asctime(&now));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user