summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSaya Sugiura <ssugiura@jp.adit-jv.com>2019-06-12 16:18:02 +0900
committerSaya Sugiura <ssugiura@jp.adit-jv.com>2019-06-19 11:00:37 +0900
commit6088448cdfe3cd152c53136544acc4ee7a508a84 (patch)
tree3b8ed06c2502c8d2daae736b6af2e1d9701f50b4 /include
parent3e73652e5dce1e841d959f521727a0952c2d1c92 (diff)
downloadDLT-daemon-6088448cdfe3cd152c53136544acc4ee7a508a84.tar.gz
Fix alerts from lgtm
Signed-off-by: Saya Sugiura <ssugiura@jp.adit-jv.com>
Diffstat (limited to 'include')
-rw-r--r--include/dlt/dlt_filetransfer.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/dlt/dlt_filetransfer.h b/include/dlt/dlt_filetransfer.h
index 1cc96cc..89a2e25 100644
--- a/include/dlt/dlt_filetransfer.h
+++ b/include/dlt/dlt_filetransfer.h
@@ -24,6 +24,9 @@
* \file dlt_filetransfer.h
*/
+#ifndef DLT_FILETRANSFER_H
+#define DLT_FILETRANSFER_H
+
#include <limits.h> /* Needed for LONG_MAX */
#include <sys/stat.h> /* Needed for struct stat st*/
#include "dlt.h" /* Needed for DLT Logs */
@@ -135,3 +138,5 @@ extern int dlt_user_log_file_data(DltContext *fileContext, const char *filename,
* @return Returns 0 if everything was okey. If there was a failure value < 0 will be returned.
*/
extern int dlt_user_log_file_end(DltContext *fileContext, const char *filename, int deleteFlag);
+
+#endif /* DLT_FILETRANSFER_H */