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

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