summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/dlt/dlt_common.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/dlt/dlt_common.h b/include/dlt/dlt_common.h
index ba2324e..550cc10 100644
--- a/include/dlt/dlt_common.h
+++ b/include/dlt/dlt_common.h
@@ -335,6 +335,15 @@ enum {
* Maximal length of an entry
*/
#define DLT_ENTRY_MAX 100
+
+/**
+ * Provision to test static function
+ */
+#ifndef DLT_UNIT_TESTS
+#define STATIC static
+#else
+#define STATIC
+#endif
/**
* The definition of the serial header containing the characters "DLS" + 0x01.
*/