Merge pull request #68 from kmpeters/issue67

I am not sure why "C" linkage is required, but it is.
This commit is contained in:
rsluiter authored and GitHub committed 2017-09-07 09:16:54 -05:00
commit 18dd3cbbf5
2 files changed
+9

No files matched your search

+4
View File
@@ -363,6 +363,9 @@ extern "C" int omsMAXnetConfig(
/* Code for iocsh registration */
extern "C"
{
/* omsMAXnetConfig */
static const iocshArg omsMAXnetConfigArg0 = {"asyn motor port name", iocshArgString};
static const iocshArg omsMAXnetConfigArg1 = {"number of axes", iocshArgInt};
@@ -389,3 +392,4 @@ static void OmsMAXnetAsynRegister(void)
epicsExportRegistrar(OmsMAXnetAsynRegister);
}
+5
View File
@@ -589,6 +589,10 @@ extern "C" int omsMAXvConfig2(
}
/* Code for iocsh registration */
extern "C"
{
/* omsMAXvSetup */
static const iocshArg setupArg0 = {"Max. controller count", iocshArgInt};
static const iocshArg setupArg1 = {"VME address type", iocshArgInt};
@@ -649,3 +653,4 @@ static void OmsMAXvAsynRegister(void)
epicsExportRegistrar(OmsMAXvAsynRegister);
}