From 98e932adee2a76bda3c2630f348196216549a45a Mon Sep 17 00:00:00 2001 From: Lutz Helwing Date: Mon, 13 Jul 2015 16:52:14 +0200 Subject: Removed all trailing whitespaces Signed-off-by: Alexander Wenzel --- include/dlt/dlt_common.h | 2 +- include/dlt/dlt_filetransfer.h | 2 +- include/dlt/dlt_offline_trace.h | 3 +-- include/dlt/dlt_user.h | 6 +++--- include/dlt/dlt_user_macros.h | 2 +- 5 files changed, 7 insertions(+), 8 deletions(-) (limited to 'include') diff --git a/include/dlt/dlt_common.h b/include/dlt/dlt_common.h index 467fa6e..0f8531c 100755 --- a/include/dlt/dlt_common.h +++ b/include/dlt/dlt_common.h @@ -1020,7 +1020,7 @@ extern "C" /** * Initialise static ringbuffer with a size of size. - * Initialise as server. Init counters. + * Initialise as server. Init counters. * Memory is already allocated. * @param buf Pointer to ringbuffer structure * @param ptr Ptr to ringbuffer memory diff --git a/include/dlt/dlt_filetransfer.h b/include/dlt/dlt_filetransfer.h index 43047f4..52ed5e5 100644 --- a/include/dlt/dlt_filetransfer.h +++ b/include/dlt/dlt_filetransfer.h @@ -58,7 +58,7 @@ * In the next step some generic informations about the file will be logged to dlt. * Now the header will be logged to dlt. See the method dlt_user_log_file_header for more informations. * Then the method dlt_user_log_data will be called with the parameter to log all packages in a loop with some timeout. - * At last dlt_user_log_end is called to signal that the complete file transfer was okey. This is important for the plugin of the dlt viewer. + * At last dlt_user_log_end is called to signal that the complete file transfer was okey. This is important for the plugin of the dlt viewer. * @param fileContext Specific context to log the file to dlt * @param filename Absolute file path * @param deleteFlag Flag if the file will be deleted after transfer. 1->delete, 0->notDelete diff --git a/include/dlt/dlt_offline_trace.h b/include/dlt/dlt_offline_trace.h index 64a0958..64a6afe 100644 --- a/include/dlt/dlt_offline_trace.h +++ b/include/dlt/dlt_offline_trace.h @@ -65,7 +65,6 @@ typedef struct char filename[NAME_MAX + 1]; /**< (String) Filename of currently used log file */ int fileSize; /**< (int) Maximum size in bytes of one trace file (Default: 1000000) */ int maxSize; /**< (int) Maximum size of all trace files (Default: 4000000) */ - int ohandle; } DltOfflineTrace; @@ -94,7 +93,7 @@ extern int dlt_offline_trace_free(DltOfflineTrace *buf); /** * Write data into offline trace - * If the current used log file exceeds the max file size, new log file is created. + * If the current used log file exceeds the max file size, new log file is created. * A check of the complete size of the offline trace is done before new file is created. * Old files are deleted, if there is not enough space left to create new file. * @param trace pointer to offline trace structure diff --git a/include/dlt/dlt_user.h b/include/dlt/dlt_user.h index b6181bf..66a869b 100644 --- a/include/dlt/dlt_user.h +++ b/include/dlt/dlt_user.h @@ -272,9 +272,9 @@ typedef struct 0 not connected, -1 unknown */ - //DltRingBuffer rbuf; + //DltRingBuffer rbuf; DltBuffer startup_buffer; /**< Ring-buffer for buffering messages during startup and missing connection */ - + // Buffer used for resending, locked by DLT semaphore uint8_t resend_buffer[DLT_USER_RESENDBUF_MAX_SIZE]; @@ -575,7 +575,7 @@ int dlt_unregister_context(DltContext *handle); * Set the logging mode used by the daemon. * The logging mode is stored persistantly by the daemon. * @see DltUserLogMode - * @param mode the new logging mode used by the daemon: off, extern, internal, both. + * @param mode the new logging mode used by the daemon: off, extern, internal, both. * @return negative value if there was an error */ int dlt_set_log_mode(DltUserLogMode mode); diff --git a/include/dlt/dlt_user_macros.h b/include/dlt/dlt_user_macros.h index 2e2528c..3bb161f 100644 --- a/include/dlt/dlt_user_macros.h +++ b/include/dlt/dlt_user_macros.h @@ -200,7 +200,7 @@ * @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 ARGS 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" -- cgit v1.2.1