diff options
author | Onkar Palkar <onkar.palkar@wipro.com> | 2016-06-30 12:44:51 +0530 |
---|---|---|
committer | Christoph Lipka <clipka@jp.adit-jv.com> | 2016-10-24 13:39:56 +0900 |
commit | cce8103616694d46d53df581e1378dd13e25b347 (patch) | |
tree | aa761b47800c27d3e1001adec1031b7c3d47f1fb | |
parent | 438e9c2f1928928d37902d5e274e0e392fde951e (diff) | |
download | DLT-daemon-cce8103616694d46d53df581e1378dd13e25b347.tar.gz |
Provision to test static function
-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. */ |