From 956ddf66950edd293fef7cb27e02621c1d30e0fa Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Wed, 23 Jul 2003 18:36:26 +0000 Subject: [PATCH] Rename the registerRecordDeviceDriver routine. --- src/softIoc/softMain.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/softIoc/softMain.cpp b/src/softIoc/softMain.cpp index 22874c83e..b476f00c7 100644 --- a/src/softIoc/softMain.cpp +++ b/src/softIoc/softMain.cpp @@ -55,7 +55,6 @@ #include #include -#include "registerRecordDeviceDriver.h" #include "registryFunction.h" #include "epicsThread.h" #include "dbStaticLib.h" @@ -65,6 +64,8 @@ #include "iocInit.h" #include "iocsh.h" +extern "C" int softIoc_registerRecordDeviceDriver(struct dbBase *pdbbase); + #define QUOTE(x) #x #define DBD_FILE(top) QUOTE(top) "/dbd/softIoc.dbd" @@ -117,7 +118,7 @@ int main(int argc, char *argv[]) exit(EXIT_FAILURE); } - registerRecordDeviceDriver(pdbbase); + softIoc_registerRecordDeviceDriver(pdbbase); registryFunctionAdd("exit", (REGISTRYFUNCTION) exitSubroutine); // X aCC 331 while (argc>1 && **argv == '-') {