The siol field, which was never used in record processing, has been

removed from aaiRecord.dbd and aaoRecord.dbd files. Old style, pre R3.12,
c code in init_record was updated.
This commit is contained in:
Janet B. Anderson
1996-10-30 17:34:35 +00:00
parent 299c22ff0f
commit d997adeb16
4 changed files with 2 additions and 56 deletions

View File

@@ -126,30 +126,8 @@ static long init_record(paai,pass)
}
/* aai.siml must be a CONSTANT or a PV_LINK or a DB_LINK */
switch (paai->siml.type) {
case (CONSTANT) :
if (paai->siml.type == CONSTANT) {
recGblInitConstantLink(&paai->siml,DBF_USHORT,&paai->simm);
break;
case (PV_LINK) :
case (DB_LINK) :
break;
default :
recGblRecordError(S_db_badField,(void *)paai,
"aai: init_record Illegal SIML field");
return(S_db_badField);
}
/* aai.siol must be a CONSTANT or a PV_LINK or a DB_LINK */
switch (paai->siol.type) {
case (CONSTANT) :
break;
case (PV_LINK) :
case (DB_LINK) :
break;
default :
recGblRecordError(S_db_badField,(void *)paai,
"aai: init_record Illegal SIOL field");
return(S_db_badField);
}
/* must have dset defined */

View File

@@ -59,11 +59,6 @@ recordtype(aai) {
size(4)
extra("void * bptr")
}
field(SIOL,DBF_INLINK) {
prompt("Sim Input Specifctn")
promptgroup(GUI_DISPLAY)
interest(1)
}
field(SIML,DBF_INLINK) {
prompt("Sim Mode Location")
promptgroup(GUI_HIST)

View File

@@ -126,30 +126,8 @@ static long init_record(paao,pass)
}
/* aao.siml must be a CONSTANT or a PV_LINK or a DB_LINK */
switch (paao->siml.type) {
case (CONSTANT) :
if (paao->siml.type == CONSTANT) {
recGblInitConstantLink(&paao->siml,DBF_USHORT,&paao->simm);
break;
case (PV_LINK) :
case (DB_LINK) :
break;
default :
recGblRecordError(S_db_badField,(void *)paao,
"aao: init_record Illegal SIML field");
return(S_db_badField);
}
/* aao.siol must be a CONSTANT or a PV_LINK or a DB_LINK */
switch (paao->siol.type) {
case (CONSTANT) :
break;
case (PV_LINK) :
case (DB_LINK) :
break;
default :
recGblRecordError(S_db_badField,(void *)paao,
"aao: init_record Illegal SIOL field");
return(S_db_badField);
}
/* must have dset defined */

View File

@@ -59,11 +59,6 @@ recordtype(aao) {
size(4)
extra("void * bptr")
}
field(SIOL,DBF_INLINK) {
prompt("Sim Input Specifctn")
promptgroup(GUI_DISPLAY)
interest(1)
}
field(SIML,DBF_INLINK) {
prompt("Sim Mode Location")
promptgroup(GUI_HIST)