From c5979ef566b85457a7b1830370e4900f3d949681 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 ea5a0a31..9d673ecb 100644 --- a/include/ecrt.h +++ b/include/ecrt.h @@ -2038,12 +2038,6 @@ void ecrt_reg_request_read( size_t size /**< Size to write. */ ); -/*****************************************************************************/ - -#ifdef __cplusplus -} -#endif - /****************************************************************************** * Bitwise read/write macros *****************************************************************************/ @@ -2335,6 +2329,12 @@ void ecrt_write_lreal(void *data, double value); /*****************************************************************************/ +#ifdef __cplusplus +} +#endif + +/*****************************************************************************/ + /** @} */ #endif