summaryrefslogtreecommitdiff
path: root/src/examples
diff options
context:
space:
mode:
authorLutz Helwing <lutz_helwing@mentor.com>2015-10-09 14:34:19 +0200
committerAlexander Wenzel <Alexander.AW.Wenzel@bmw.de>2015-10-28 11:37:32 +0100
commitfb99b7875dfe64a4073aa14f33c551098632847c (patch)
treed771a7287e00b9dcedb3f94281cfdcb58d306a0e /src/examples
parenta65dcd34513308b37165f8544ab647016d6e7209 (diff)
downloadDLT-daemon-fb99b7875dfe64a4073aa14f33c551098632847c.tar.gz
Purged all warnings for -Wall -Wextra
Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
Diffstat (limited to 'src/examples')
-rw-r--r--src/examples/dlt-example-filetransfer.c2
-rw-r--r--src/examples/dlt-example-user-common-api.c2
-rw-r--r--src/examples/dlt-example-user.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/examples/dlt-example-filetransfer.c b/src/examples/dlt-example-filetransfer.c
index 4fc10e2..0f4f038 100644
--- a/src/examples/dlt-example-filetransfer.c
+++ b/src/examples/dlt-example-filetransfer.c
@@ -73,7 +73,7 @@
#define TIMEOUT 1
//!Declare some context for the file transfer. It's not a must have to do this, but later you can set a filter on this context in the dlt viewer.
-DLT_DECLARE_CONTEXT(fileContext);
+DLT_DECLARE_CONTEXT(fileContext)
/**
diff --git a/src/examples/dlt-example-user-common-api.c b/src/examples/dlt-example-user-common-api.c
index ee6370c..171ca89 100644
--- a/src/examples/dlt-example-user-common-api.c
+++ b/src/examples/dlt-example-user-common-api.c
@@ -63,7 +63,7 @@
#include "dlt_common_api.h"
-DLT_DECLARE_CONTEXT(mycontext);
+DLT_DECLARE_CONTEXT(mycontext)
/**
* Print usage information of tool.
diff --git a/src/examples/dlt-example-user.c b/src/examples/dlt-example-user.c
index 3479ee8..532402a 100644
--- a/src/examples/dlt-example-user.c
+++ b/src/examples/dlt-example-user.c
@@ -79,7 +79,7 @@
int dlt_user_injection_callback(uint32_t service_id, void *data, uint32_t length);
void dlt_user_log_level_changed_callback(char context_id[DLT_ID_SIZE],uint8_t log_level,uint8_t trace_status);
-DLT_DECLARE_CONTEXT(mycontext);
+DLT_DECLARE_CONTEXT(mycontext)
/**
* Print usage information of tool.