1
0
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:
Hinnerk van Bruinehsen 2014-10-18 14:08:12 +02:00
parent 9ba980dfd9
commit ce075d9cbd

View File

@ -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));
}