RTEMS no longer needs special version of the IOC shell file access routines.
This commit is contained in:
@@ -21,11 +21,6 @@ of this distribution.
|
||||
#include "dbAccessRegister.h"
|
||||
#include "ioccrf.h"
|
||||
|
||||
#ifdef __rtems__
|
||||
# define dbLoadDatabase dbLoadDatabaseRTEMS
|
||||
# define dbLoadRecords dbLoadRecordsRTEMS
|
||||
#endif
|
||||
|
||||
/* dbLoadDatabase */
|
||||
static ioccrfArg dbLoadDatabaseArg0 = { "file name",ioccrfArgString,0};
|
||||
static ioccrfArg dbLoadDatabaseArg1 = { "path",ioccrfArgString,0};
|
||||
|
||||
@@ -20,11 +20,7 @@ static ioccrfArg *runScriptArgs[1] = {&runScriptArg0};
|
||||
static ioccrfFuncDef runScriptFuncDef = {"<",1,runScriptArgs};
|
||||
static void runScriptCallFunc(ioccrfArg **args)
|
||||
{
|
||||
#ifdef __rtems__
|
||||
runScriptRTEMS ((char *)args[0]->value);
|
||||
#else
|
||||
ioccrf ((char *)args[0]->value);
|
||||
#endif
|
||||
}
|
||||
|
||||
/* chdir */
|
||||
|
||||
Reference in New Issue
Block a user