From 506b03122d7fb16f3646d0c4fa019568b1a326d2 Mon Sep 17 00:00:00 2001 From: Andrey Date: Thu, 5 Oct 2023 22:10:10 -0400 Subject: [PATCH] only: C++ --- firmware/util/efilib.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/firmware/util/efilib.h b/firmware/util/efilib.h index f97a0141a6..b230ffddf7 100644 --- a/firmware/util/efilib.h +++ b/firmware/util/efilib.h @@ -46,11 +46,6 @@ static inline uint32_t SWAP_UINT32(uint32_t x) #define Q(x) #x #define QUOTE(x) Q(x) -#ifdef __cplusplus -extern "C" -{ -#endif /* __cplusplus */ - const char * boolToString(bool value); char * efiTrim(char *param); @@ -81,9 +76,6 @@ float limitRateOfChange(float newValue, float oldValue, float incrLimitPerSec, f bool isPhaseInRange(float test, float current, float next); -#ifdef __cplusplus -} - #include #include @@ -142,5 +134,3 @@ constexpr remove_reference_t<_Ty>&& move(_Ty&& _Arg) noexcept { return static_cast&&>(_Arg); } } - -#endif /* __cplusplus */