From 7cef334b64899bb1b3040d6875fb723ca9da9578 Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Wed, 25 Apr 2018 21:42:44 -0500 Subject: [PATCH] Added C++ extern "C" wrapper to dbState.h --- src/ioc/db/dbState.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/ioc/db/dbState.h b/src/ioc/db/dbState.h index abd23259e..c7cd81c52 100644 --- a/src/ioc/db/dbState.h +++ b/src/ioc/db/dbState.h @@ -15,6 +15,10 @@ #include "shareLib.h" +#ifdef __cplusplus +extern "C" { +#endif + /** @file dbState.h * @brief Generic IOC state facility * @@ -89,4 +93,9 @@ epicsShareFunc void dbStateShow(dbStateId id, unsigned int level); */ epicsShareFunc void dbStateShowAll(unsigned int level); + +#ifdef __cplusplus +} +#endif + #endif // INCdbStateH