summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFelix Herrmann <fherrmann@de.adit-jv.com>2020-01-10 16:10:33 +0100
committerSaya Sugiura <39760799+ssugiura@users.noreply.github.com>2020-07-06 10:04:07 +0900
commitec391decd94ac9f6c6133c24a41c8afb2c01623f (patch)
tree7ac109da07b3cbeb25bede7ed55436c32332f09d /include
parentc79ac621dbb7e774c90079ee1682857b4b0a2cfa (diff)
downloadDLT-daemon-ec391decd94ac9f6c6133c24a41c8afb2c01623f.tar.gz
fix clang warnings about GNU stuff
Signed-off-by: Felix Herrmann <fherrmann@de.adit-jv.com> Signed-off-by: KHANH LUONG HONG DUY <khanh.luonghongduy@vn.bosch.com>
Diffstat (limited to 'include')
-rw-r--r--include/dlt/dlt_user_macros.h16
1 files changed, 8 insertions, 8 deletions
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