mirror of
https://github.com/espressif/openthread.git
synced 2026-08-03 09:27:47 +00:00
[logging] avoid use of GNU extension ##__VA_ARGS__ (#4808)
This commit is contained in:
@@ -44,8 +44,7 @@
|
||||
#error OPENTHREAD_CONFIG_ENABLE_DEBUG_UART_LOG requires OPENTHREAD_CONFIG_ENABLE_DEBUG_UART
|
||||
#endif
|
||||
|
||||
#define otLogDump(aFormat, ...) \
|
||||
_otDynamicLog(aLogLevel, aLogRegion, aFormat OPENTHREAD_CONFIG_LOG_SUFFIX, ##__VA_ARGS__)
|
||||
#define otLogDump(aFormat, ...) _otDynamicLog(aLogLevel, aLogRegion, aFormat OPENTHREAD_CONFIG_LOG_SUFFIX, __VA_ARGS__)
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
+265
-373
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user