From d9e96f71123631d8c9af6f6b36b86b9ea8af6fcf Mon Sep 17 00:00:00 2001 From: Florian Pose Date: Tue, 22 Jan 2019 14:34:55 +0100 Subject: [PATCH] Added extern "C" for floating-point functions. --- include/ecrt.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/include/ecrt.h b/include/ecrt.h index e2e4f0bc..c910e12c 100644 --- a/include/ecrt.h +++ b/include/ecrt.h @@ -2051,12 +2051,6 @@ void ecrt_reg_request_read( size_t size /**< Size to write. */ ); -/*****************************************************************************/ - -#ifdef __cplusplus -} -#endif - /****************************************************************************** * Bitwise read/write macros *****************************************************************************/ @@ -2348,6 +2342,12 @@ void ecrt_write_lreal(void *data, double value); /*****************************************************************************/ +#ifdef __cplusplus +} +#endif + +/*****************************************************************************/ + /** @} */ #endif