added extern C on epicsExportRegistrar

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

No files matched your search

+4 -1
View File
@@ -66,4 +66,7 @@ static void powerSupplyRegister(void)
iocshRegister(&powerSupplyFuncDef, powerSupplyCallFunc);
}
}
epicsExportRegistrar(powerSupplyRegister);
extern "C" {
epicsExportRegistrar(powerSupplyRegister);
}