mirror of
https://github.com/espressif/openthread.git
synced 2026-08-05 02:17:47 +00:00
correct va_list usage (#686)
This commit is contained in:
@@ -35,6 +35,7 @@
|
||||
#ifndef CLI_UART_H_
|
||||
#define CLI_UART_H_
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <openthread-types.h>
|
||||
#include <platform/logging.h>
|
||||
|
||||
@@ -57,10 +58,10 @@ void otCliUartInit(otInstance *aInstance);
|
||||
* @param[in] aLogLevel The log level.
|
||||
* @param[in] aLogRegion The log region.
|
||||
* @param[in] aFormat A pointer to the format string.
|
||||
* @param[in] ... Arguments for the format specification.
|
||||
* @param[in] aAp Arguments pointer for the format specification.
|
||||
*
|
||||
*/
|
||||
void otCliLog(otLogLevel aLogLevel, otLogRegion aLogRegion, const char *aFormat, ...);
|
||||
void otCliLog(otLogLevel aLogLevel, otLogRegion aLogRegion, const char *aFormat, va_list aAp);
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
Reference in New Issue
Block a user