summaryrefslogtreecommitdiff
path: root/src/examples
diff options
context:
space:
mode:
Diffstat (limited to 'src/examples')
-rw-r--r--src/examples/dlt-example-filetransfer.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/examples/dlt-example-filetransfer.c b/src/examples/dlt-example-filetransfer.c
index 41e926f..3807aaf 100644
--- a/src/examples/dlt-example-filetransfer.c
+++ b/src/examples/dlt-example-filetransfer.c
@@ -1,3 +1,7 @@
+#include <stdlib.h>
+#include <stdio.h>
+#include <ctype.h>
+
#include <dlt_filetransfer.h> /*Needed for transferring files with the dlt protocol*/
#include <dlt.h> /*Needed for dlt logging*/
@@ -44,13 +48,13 @@ void usage()
//!Main program dlt-test-filestransfer starts here
int main(int argc, char* argv[])
{
- char str[MAXSTRLEN];
+ //char str[MAXSTRLEN];
int opt, timeout, dltResult;;
char apid[DLT_ID_SIZE];
char ctid[DLT_ID_SIZE];
- char version[255];
+ //char version[255];
int dflag = 0;
int iflag = 0;