diff --git a/src/registry/registryRecordType.h b/src/registry/registryRecordType.h index 55905aaa3..2a9a0d01f 100644 --- a/src/registry/registryRecordType.h +++ b/src/registry/registryRecordType.h @@ -2,6 +2,11 @@ #define INCregistryRecordTypeh #include "shareLib.h" + +#ifdef __cplusplus +extern "C" { +#endif + struct dbRecordType; struct rset; struct dbBase; @@ -15,10 +20,6 @@ typedef struct recordTypeLocation { }recordTypeLocation; -#ifdef __cplusplus -extern "C" { -#endif - epicsShareFunc int epicsShareAPI registryRecordTypeAdd( const char *name,const recordTypeLocation *prtl); epicsShareFunc recordTypeLocation * epicsShareAPI registryRecordTypeFind(