Added extern "C" to iocsh registration code. Fixes #69

This commit is contained in:
kpetersn
2017-08-23 10:47:14 -05:00
parent 8966aeabf2
commit 57b8cdca25
+4 -1
View File
@@ -1067,6 +1067,9 @@ extern "C" int Hytec8601Configure(const char *portName,
return(asynSuccess);
}
extern "C"
{
static const iocshArg Hy8601ConfigArg0 = {"portName", iocshArgString};
static const iocshArg Hy8601ConfigArg1 = {"numAxes", iocshArgInt};
static const iocshArg Hy8601ConfigArg2 = {"movingPollPeriod", iocshArgInt};
@@ -1110,4 +1113,4 @@ static void Hytec8601Register(void)
epicsExportRegistrar(Hytec8601Register);
}