mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +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;
|
||||
rtc_get_localtime(&now);
|
||||
|
||||
/* cppcheck: see man 3 asctime: obsoleted by POSIX.1-2008 */
|
||||
/* cppcheck-suppress obsoleteFunctionsasctime */
|
||||
printf("%s", asctime(&now));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user