From d997adeb16f4afbb68439ca00f3acc321d18e70c Mon Sep 17 00:00:00 2001 From: "Janet B. Anderson" Date: Wed, 30 Oct 1996 17:34:35 +0000 Subject: [PATCH] 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. --- src/rec/aaiRecord.c | 24 +----------------------- src/rec/aaiRecord.dbd | 5 ----- src/rec/aaoRecord.c | 24 +----------------------- src/rec/aaoRecord.dbd | 5 ----- 4 files changed, 2 insertions(+), 56 deletions(-) diff --git a/src/rec/aaiRecord.c b/src/rec/aaiRecord.c index 35ad9d867..373467386 100644 --- a/src/rec/aaiRecord.c +++ b/src/rec/aaiRecord.c @@ -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 */ diff --git a/src/rec/aaiRecord.dbd b/src/rec/aaiRecord.dbd index b35c4e6ba..89f0d253b 100644 --- a/src/rec/aaiRecord.dbd +++ b/src/rec/aaiRecord.dbd @@ -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) diff --git a/src/rec/aaoRecord.c b/src/rec/aaoRecord.c index 51e7b6bd7..d28fa38d5 100644 --- a/src/rec/aaoRecord.c +++ b/src/rec/aaoRecord.c @@ -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 */ diff --git a/src/rec/aaoRecord.dbd b/src/rec/aaoRecord.dbd index a25326ccc..0f7b2b45e 100644 --- a/src/rec/aaoRecord.dbd +++ b/src/rec/aaoRecord.dbd @@ -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)