diff options
Diffstat (limited to 'include/dlt/dlt_common.h')
-rw-r--r-- | include/dlt/dlt_common.h | 9 |
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. */ |