summaryrefslogtreecommitdiff
path: root/src/offlinelogstorage/dlt_offline_logstorage.h
diff options
context:
space:
mode:
authorChristoph Lipka <clipka@de.adit-jv.com>2018-12-20 14:58:19 +0100
committerChristoph Lipka <clipka@de.adit-jv.com>2018-12-21 10:23:41 +0100
commitdca8ab254aa0a687c32009079d85e4d8f960b213 (patch)
treee63b6a552fd9f61873892110a56a89ef354864cd /src/offlinelogstorage/dlt_offline_logstorage.h
parent0d0c74640c8b792db37cb9f884f89f7561ea551f (diff)
downloadDLT-daemon-dca8ab254aa0a687c32009079d85e4d8f960b213.tar.gz
Code beautification using uncrustify
Signed-off-by: Christoph Lipka <clipka@de.adit-jv.com>
Diffstat (limited to 'src/offlinelogstorage/dlt_offline_logstorage.h')
-rw-r--r--src/offlinelogstorage/dlt_offline_logstorage.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/offlinelogstorage/dlt_offline_logstorage.h b/src/offlinelogstorage/dlt_offline_logstorage.h
index 5020042..c2160b5 100644
--- a/src/offlinelogstorage/dlt_offline_logstorage.h
+++ b/src/offlinelogstorage/dlt_offline_logstorage.h
@@ -113,7 +113,7 @@
#define DLT_LOGSTORAGE_SYNC_ON_SPECIFIC_SIZE (1 << 4) /* sync on after specific size */
#define DLT_LOGSTORAGE_SYNC_ON_FILE_SIZE (1 << 5) /* sync on file size reached */
-#define DLT_OFFLINE_LOGSTORAGE_IS_STRATEGY_SET(S, s) ((S) &(s))
+#define DLT_OFFLINE_LOGSTORAGE_IS_STRATEGY_SET(S, s) ((S)&(s))
/* logstorage max cache */
unsigned int g_logstorage_cache_max;
@@ -206,7 +206,7 @@ typedef struct
unsigned int connection_type; /* Type of connection */
unsigned int config_status; /* Status of configuration */
int write_errors; /* number of write errors */
-}DltLogStorage;
+} DltLogStorage;
typedef struct {
char *key; /* The configuration key */
@@ -250,7 +250,7 @@ typedef enum {
* @return 0 on success, -1 on error
*/
int dlt_logstorage_device_connected(DltLogStorage *handle,
- char *mount_point);
+ char *mount_point);
/**
* dlt_logstorage_device_disconnected
@@ -261,7 +261,7 @@ int dlt_logstorage_device_connected(DltLogStorage *handle,
* @return 0 on success, -1 on error
*/
int dlt_logstorage_device_disconnected(DltLogStorage *handle,
- int reason);
+ int reason);
/**
* dlt_logstorage_get_config
*