pkg: openthread: mark otPlatLog() as printf style function

This commit is contained in:
Martine Lenders 2018-08-03 17:57:21 +02:00
parent 0a5acd91cf
commit d6cdf4d06f

View File

@ -28,6 +28,7 @@
/* adapted from OpenThread posix example:
* See: https://github.com/openthread/openthread/blob/master/examples/platforms/posix/logging.c */
__attribute__((__format__ (__printf__, 3, 4)))
void otPlatLog(otLogLevel aLogLevel, otLogRegion aLogRegion, const char *aFormat, ...)
{
va_list args;