summaryrefslogtreecommitdiff
path: root/src/tests/dlt-test-stress.c
diff options
context:
space:
mode:
authorSimon Brandner <simon.brandner@partner.bmw.de>2012-12-03 17:49:49 +0100
committerAlexander Wenzel <Alexander.AW.Wenzel@bmw.de>2013-07-19 16:54:04 +0200
commit311b8896c144c5ff8c10dbc0d4c7832720292608 (patch)
tree8f176477d72e254fb2347697262701b133f2937f /src/tests/dlt-test-stress.c
parent0790eaebe0dfea27bd0f871e19af752d10bf8938 (diff)
downloadDLT-daemon-311b8896c144c5ff8c10dbc0d4c7832720292608.tar.gz
Removed most warnings caused by: Wunused-but-set-variable flag. Eome were kept, because they were the nicer variant to eliminate them, or they seemed reserved for an commandline argument
Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
Diffstat (limited to 'src/tests/dlt-test-stress.c')
-rwxr-xr-xsrc/tests/dlt-test-stress.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/dlt-test-stress.c b/src/tests/dlt-test-stress.c
index 4b5967f..2f50e7e 100755
--- a/src/tests/dlt-test-stress.c
+++ b/src/tests/dlt-test-stress.c
@@ -91,7 +91,7 @@ typedef struct
void stress1(void);
void stress2(void);
-void thread_function(void *ptr);
+void thread_function(void);
void stress3(void);
@@ -311,7 +311,7 @@ void stress2(void)
printf("Finished stress test2 \n\n");
}
-void thread_function(void *ptr)
+void thread_function(void)
{
//thread_data_t *data;
DLT_DECLARE_CONTEXT(context_thread1);