From 90a612512776fca6f729b7999b5dd3eec1b0ba2f Mon Sep 17 00:00:00 2001 From: Christophe Favergeon Date: Fri, 17 Jul 2020 08:01:06 +0200 Subject: [PATCH] CMSIS-DSP: Update header for use from C++ --- Platforms/IPSS/ipss_bench.h | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/Platforms/IPSS/ipss_bench.h b/Platforms/IPSS/ipss_bench.h index 841b2d25..aee56656 100755 --- a/Platforms/IPSS/ipss_bench.h +++ b/Platforms/IPSS/ipss_bench.h @@ -1,7 +1,16 @@ #ifndef IPSS_BENCH_H #define IPSS_BENCH_H -extern void start_ipss_measurement(); -extern void stop_ipss_measurement(); +#ifdef __cplusplus +extern "C" +{ +#endif + +void start_ipss_measurement(); +void stop_ipss_measurement(); + +#ifdef __cplusplus +} +#endif #endif