forked from epics_driver_modules/motorBase
Added extern "C" to iocsh registration code. Fixes #67
This commit is contained in:
@@ -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);
|
||||
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user