From 9520983e08397c453af735d0ff0736cc007c2c45 Mon Sep 17 00:00:00 2001 From: Thomas Gubler Date: Tue, 16 Dec 2014 08:24:51 +0100 Subject: lots' of header juggling and small changes to make mc att control compile for NuttX and ROS --- src/modules/systemlib/circuit_breaker.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/modules/systemlib/circuit_breaker.h') diff --git a/src/modules/systemlib/circuit_breaker.h b/src/modules/systemlib/circuit_breaker.h index b3431722f..012d8cb61 100644 --- a/src/modules/systemlib/circuit_breaker.h +++ b/src/modules/systemlib/circuit_breaker.h @@ -61,8 +61,14 @@ __BEGIN_DECLS +#ifdef __cplusplus +extern "C" { +#endif +__EXPORT bool circuit_breaker_enabled(const char* breaker, int32_t magic); +#ifdef __cplusplus +} +#endif __EXPORT bool circuit_breaker_enabled(const char* breaker, int32_t magic); - __END_DECLS #endif /* CIRCUIT_BREAKER_H_ */ -- cgit v1.2.3