added extern C on epicsExportRegistrar

This commit is contained in:
Matej Sekoranja
2014-06-20 09:16:35 +02:00
parent 1544147bdd
commit 723f98bc44
4 changed files with 16 additions and 4 deletions

View File

@@ -83,4 +83,7 @@ static void exampleLinkRegister(void)
iocshRegister(&exampleLinkFuncDef, exampleLinkCallFunc);
}
}
epicsExportRegistrar(exampleLinkRegister);
extern "C" {
epicsExportRegistrar(exampleLinkRegister);
}