From 24b9e0366fa31f71c51fe228ce0c5fe960b3ff12 Mon Sep 17 00:00:00 2001 From: rusefi Date: Sat, 8 Dec 2018 14:32:45 -0500 Subject: [PATCH] docs --- unit_tests/global.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/unit_tests/global.h b/unit_tests/global.h index 8a97908284..5c3c0045d3 100644 --- a/unit_tests/global.h +++ b/unit_tests/global.h @@ -21,11 +21,9 @@ #include "boards.h" #ifdef __cplusplus - - extern "C" { -#endif +#endif /* __cplusplus */ #define CH_FREQUENCY 1000 @@ -42,8 +40,7 @@ void print(const char *fmt, ...); #ifdef __cplusplus } -#endif - +#endif /* __cplusplus */ #define US_TO_NT_MULTIPLIER 100 @@ -68,7 +65,7 @@ typedef int bool_t; #ifdef __cplusplus class Engine; -#endif +#endif /* __cplusplus */ /** * @see firmware/global.h for explanation