Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/org.eclipse.etrice.runtime.c/src/etDatatypes.h')
-rw-r--r--runtime/org.eclipse.etrice.runtime.c/src/etDatatypes.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/runtime/org.eclipse.etrice.runtime.c/src/etDatatypes.h b/runtime/org.eclipse.etrice.runtime.c/src/etDatatypes.h
index e2622cbdf..f1edfa670 100644
--- a/runtime/org.eclipse.etrice.runtime.c/src/etDatatypes.h
+++ b/runtime/org.eclipse.etrice.runtime.c/src/etDatatypes.h
@@ -18,6 +18,8 @@
*
* */
+#include <stdio.h>
+
/* unsigned integer datatypes */
typedef unsigned char uint8;
typedef unsigned short int uint16;
@@ -45,11 +47,11 @@ typedef char boolean; /* TODO: bool, Bool, Boolean, and boolean are already def
#endif
/*
- * typedefs for Runtime and Testing
+ * typedefs for eTrice Runtime and Testing
*
* */
-typedef uint8 etInt8;
+typedef int8 etInt8;
typedef int16 etInt16;
typedef int32 etInt32;
@@ -62,4 +64,6 @@ typedef boolean etBool;
typedef float32 etFloat32;
typedef float64 etFloat64;
+typedef FILE* etFileHandle;
+
#endif /* _DATATYPES_H_ */

Back to the top