From ec391decd94ac9f6c6133c24a41c8afb2c01623f Mon Sep 17 00:00:00 2001 From: Felix Herrmann Date: Fri, 10 Jan 2020 16:10:33 +0100 Subject: fix clang warnings about GNU stuff Signed-off-by: Felix Herrmann Signed-off-by: KHANH LUONG HONG DUY --- include/dlt/dlt_user_macros.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'include') diff --git a/include/dlt/dlt_user_macros.h b/include/dlt/dlt_user_macros.h index f1a531b..f313270 100644 --- a/include/dlt/dlt_user_macros.h +++ b/include/dlt/dlt_user_macros.h @@ -202,9 +202,9 @@ * Send log message with variable list of messages (intended for verbose mode) * @param CONTEXT object containing information about one special logging context * @param LOGLEVEL the log level of the log message - * @param ARGS variable list of arguments + * @param ... variable list of arguments * @note To avoid the MISRA warning "The comma operator has been used outside a for statement" - * use a semicolon instead of a comma to separate the ARGS. + * use a semicolon instead of a comma to separate the __VA_ARGS__. * Example: DLT_LOG(hContext, DLT_LOG_INFO, DLT_STRING("Hello world"); DLT_INT(123)); */ #ifdef _MSC_VER @@ -229,9 +229,9 @@ * @param CONTEXT object containing information about one special logging context * @param LOGLEVEL the log level of the log message * @param TS timestamp to be used for log message - * @param ARGS variable list of arguments + * @param ... variable list of arguments * @note To avoid the MISRA warning "The comma operator has been used outside a for statement" - * use a semicolon instead of a comma to separate the ARGS. + * use a semicolon instead of a comma to separate the __VA_ARGS__. * Example: DLT_LOG_TS(hContext, DLT_LOG_INFO, timestamp, DLT_STRING("Hello world"); DLT_INT(123)); */ #ifdef _MSC_VER @@ -258,11 +258,11 @@ * @param CONTEXT object containing information about one special logging context * @param LOGLEVEL the log level of the log message * @param MSGID the message id of log message - * @param ARGS variable list of arguments: + * @param ... variable list of arguments * calls to DLT_STRING(), DLT_BOOL(), DLT_FLOAT32(), DLT_FLOAT64(), * DLT_INT(), DLT_UINT(), DLT_RAW() * @note To avoid the MISRA warning "The comma operator has been used outside a for statement" - * use a semicolon instead of a comma to separate the ARGS. + * use a semicolon instead of a comma to separate the __VA_ARGS__. * Example: DLT_LOG_ID(hContext, DLT_LOG_INFO, 0x1234, DLT_STRING("Hello world"); DLT_INT(123)); */ #ifdef _MSC_VER @@ -288,11 +288,11 @@ * @param LOGLEVEL the log level of the log message * @param MSGID the message id of log message * @param TS timestamp to be used for log message - * @param ARGS variable list of arguments: + * @param ... variable list of arguments * calls to DLT_STRING(), DLT_BOOL(), DLT_FLOAT32(), DLT_FLOAT64(), * DLT_INT(), DLT_UINT(), DLT_RAW() * @note To avoid the MISRA warning "The comma operator has been used outside a for statement" - * use a semicolon instead of a comma to separate the ARGS. + * use a semicolon instead of a comma to separate the __VA_ARGS__. * Example: DLT_LOG_ID_TS(hContext, DLT_LOG_INFO, 0x1234, timestamp, DLT_STRING("Hello world"); DLT_INT(123)); */ #ifdef _MSC_VER -- cgit v1.2.1