From c46e0937caaed74aba73655765d096ee415e405a Mon Sep 17 00:00:00 2001 From: "Janet B. Anderson" Date: Fri, 17 Apr 1992 15:09:52 +0000 Subject: [PATCH] jba removed process from dev init_record parms --- src/rec/recAi.c | 3 ++- src/rec/recAo.c | 3 ++- src/rec/recBi.c | 3 ++- src/rec/recBo.c | 3 ++- src/rec/recEvent.c | 3 ++- src/rec/recHistogram.c | 3 ++- src/rec/recLongin.c | 5 +++-- src/rec/recLongout.c | 3 ++- src/rec/recMbbi.c | 3 ++- src/rec/recMbbo.c | 3 ++- src/rec/recPulseCounter.c | 3 ++- src/rec/recPulseDelay.c | 3 ++- src/rec/recPulseTrain.c | 3 ++- src/rec/recSteppermotor.c | 3 ++- src/rec/recStringin.c | 3 ++- src/rec/recStringout.c | 3 ++- src/rec/recWaveform.c | 3 ++- 17 files changed, 35 insertions(+), 18 deletions(-) diff --git a/src/rec/recAi.c b/src/rec/recAi.c index 5758ab122..608d6004c 100644 --- a/src/rec/recAi.c +++ b/src/rec/recAi.c @@ -62,6 +62,7 @@ * .22 02-28-92 jba Changed get_precision,get_graphic_double,get_control_double * .23 02-28-92 jba ANSI C changes * .24 04-10-92 jba pact now used to test for asyn processing, not status + * .25 04-18-92 jba removed process from dev init_record parms */ #include @@ -158,7 +159,7 @@ static long init_record(pai) pai->init = TRUE; if( pdset->init_record ) { - if((status=(*pdset->init_record)(pai,process))) return(status); + if((status=(*pdset->init_record)(pai))) return(status); } return(0); } diff --git a/src/rec/recAo.c b/src/rec/recAo.c index cb93075f5..0c10e2d02 100644 --- a/src/rec/recAo.c +++ b/src/rec/recAo.c @@ -56,6 +56,7 @@ * .23 02-28-92 jba Changed get_precision,get_graphic_double,get_control_double * .24 02-28-92 jba ANSI C changes * .25 04-10-92 jba pact now used to test for asyn processing, not status + * .26 04-18-92 jba removed process from dev init_record parms */ #include @@ -159,7 +160,7 @@ static long init_record(pao) pao->init = TRUE; if( pdset->init_record ) { - status=(*pdset->init_record)(pao,process); + status=(*pdset->init_record)(pao); switch(status){ case(0): /* convert */ if (pao->linr == 0){ diff --git a/src/rec/recBi.c b/src/rec/recBi.c index 35292492e..2ce261510 100644 --- a/src/rec/recBi.c +++ b/src/rec/recBi.c @@ -49,6 +49,7 @@ * .15 02-05-92 jba Changed function arguments from paddr to precord * .16 02-28-92 jba ANSI C changes * .17 04-10-92 jba pact now used to test for asyn processing, not status + * .18 04-18-92 jba removed process from dev init_record parms */ #include @@ -131,7 +132,7 @@ static long init_record(pbi) return(S_dev_missingSup); } if( pdset->init_record ) { - if((status=(*pdset->init_record)(pbi,process))) return(status); + if((status=(*pdset->init_record)(pbi))) return(status); } return(0); } diff --git a/src/rec/recBo.c b/src/rec/recBo.c index 950e69dae..4e7716c5c 100644 --- a/src/rec/recBo.c +++ b/src/rec/recBo.c @@ -57,6 +57,7 @@ * .21 02-28-92 jba ANSI C changes * .22 03-03-92 jba Changed callback handling * .23 04-10-92 jba pact now used to test for asyn processing, not status + * .24 04-18-92 jba removed process from dev init_record parms */ #include @@ -181,7 +182,7 @@ static long init_record(pbo) pcallback->precord = (struct dbCommon *)pbo; if( pdset->init_record ) { - status=(*pdset->init_record)(pbo,process); + status=(*pdset->init_record)(pbo); if(status==0) { if(pbo->rval==0) pbo->val = 0; else pbo->val = 1; diff --git a/src/rec/recEvent.c b/src/rec/recEvent.c index 42e5f0ed4..13c49b613 100644 --- a/src/rec/recEvent.c +++ b/src/rec/recEvent.c @@ -32,6 +32,7 @@ 4 .00 12-13-91 jba Initial definition * .01 02-28-92 jba ANSI C changes * .02 04-10-92 jba pact now used to test for asyn processing, not status + * .03 04-18-92 jba removed process from dev init_record parms */ #include @@ -105,7 +106,7 @@ static long init_record(pevent) long status=0; if( (pdset=(struct eventdset *)(pevent->dset)) && (pdset->init_record) ) - status=(*pdset->init_record)(pevent,process); + status=(*pdset->init_record)(pevent); return(status); } diff --git a/src/rec/recHistogram.c b/src/rec/recHistogram.c index 98b329442..3ca32b967 100644 --- a/src/rec/recHistogram.c +++ b/src/rec/recHistogram.c @@ -33,6 +33,7 @@ * .02 02-05-92 jba Changed function arguments from paddr to precord * .03 02-28-92 jba ANSI C changes * .04 04-10-92 jba pact now used to test for asyn processing, not status + * .05 04-18-92 jba removed process from dev init_record parms */ #include @@ -196,7 +197,7 @@ static long init_record(phistogram) /* call device support init_record */ if( pdset->init_record ) { - if((status=(*pdset->init_record)(phistogram,process))) return(status); + if((status=(*pdset->init_record)(phistogram))) return(status); } return(0); } diff --git a/src/rec/recLongin.c b/src/rec/recLongin.c index b79c87ac6..31292c729 100644 --- a/src/rec/recLongin.c +++ b/src/rec/recLongin.c @@ -33,7 +33,8 @@ * .02 02-05-92 jba Changed function arguments from paddr to precord * .03 02-28-92 jba Changed get_precision,get_graphic_double,get_control_double * .04 02-28-92 jba ANSI C changes - * .04 04-10-92 jba pact now used to test for asyn processing, not status + * .05 04-10-92 jba pact now used to test for asyn processing, not status + * .06 04-18-92 jba removed process from dev init_record parms */ @@ -119,7 +120,7 @@ static long init_record(plongin) return(S_dev_missingSup); } if( pdset->init_record ) { - if((status=(*pdset->init_record)(plongin,process))) return(status); + if((status=(*pdset->init_record)(plongin))) return(status); } return(0); } diff --git a/src/rec/recLongout.c b/src/rec/recLongout.c index fc1b7be55..f3d3824d3 100644 --- a/src/rec/recLongout.c +++ b/src/rec/recLongout.c @@ -33,6 +33,7 @@ * .02 02-05-92 jba Changed function arguments from paddr to precord * .03 02-28-92 jba ANSI C changes * .04 04-10-92 jba pact now used to test for asyn processing, not status + * .05 04-18-92 jba removed process from dev init_record parms */ @@ -124,7 +125,7 @@ static long init_record(plongout) plongout->udf=FALSE; } if( pdset->init_record ) { - if((status=(*pdset->init_record)(plongout,process))) return(status); + if((status=(*pdset->init_record)(plongout))) return(status); } return(0); } diff --git a/src/rec/recMbbi.c b/src/rec/recMbbi.c index d6e17f33f..1031b444c 100644 --- a/src/rec/recMbbi.c +++ b/src/rec/recMbbi.c @@ -50,6 +50,7 @@ * .15 02-05-92 jba Changed function arguments from paddr to precord * .16 02-28-92 jba ANSI C changes * .17 04-10-92 jba pact now used to test for asyn processing, not status + * .18 04-18-92 jba removed process from dev dev init_record parms */ #include @@ -158,7 +159,7 @@ static long init_record(pmbbi) pmbbi->mask |= 1; /* set low order bit*/ } if( pdset->init_record ) { - if((status=(*pdset->init_record)(pmbbi,process))) return(status); + if((status=(*pdset->init_record)(pmbbi))) return(status); } init_common(pmbbi); return(0); diff --git a/src/rec/recMbbo.c b/src/rec/recMbbo.c index c3cc8551d..9a2262ebe 100644 --- a/src/rec/recMbbo.c +++ b/src/rec/recMbbo.c @@ -53,6 +53,7 @@ * .18 02-05-92 jba Changed function arguments from paddr to precord * .19 02-28-92 jba ANSI C changes * .20 04-10-92 jba pact now used to test for asyn processing, not status + * .21 04-18-92 jba removed process from dev init_record parms */ #include @@ -171,7 +172,7 @@ static long init_record(pmbbo) if( pdset->init_record ) { unsigned long rval; - status=(*pdset->init_record)(pmbbo,process); + status=(*pdset->init_record)(pmbbo); /* init_record might set status */ init_common(pmbbo); if(status==0){ diff --git a/src/rec/recPulseCounter.c b/src/rec/recPulseCounter.c index 5be1b0d05..bfcc00351 100644 --- a/src/rec/recPulseCounter.c +++ b/src/rec/recPulseCounter.c @@ -33,6 +33,7 @@ * .02 02-05-92 jba Changed function arguments from paddr to precord * .03 02-28-92 jba ANSI C changes * .04 04-10-92 jba pact now used to test for asyn processing, not status + * .05 04-18-92 jba removed process from dev init_record parms */ #include @@ -134,7 +135,7 @@ static long init_record(ppc) } /* call device support init_record */ if( pdset->init_record ) { - if((status=(*pdset->init_record)(ppc,process))) return(status); + if((status=(*pdset->init_record)(ppc))) return(status); } return(0); } diff --git a/src/rec/recPulseDelay.c b/src/rec/recPulseDelay.c index 93ad579dc..1357ab1ea 100644 --- a/src/rec/recPulseDelay.c +++ b/src/rec/recPulseDelay.c @@ -34,6 +34,7 @@ * .03 02-28-92 jba Changed get_precision,get_graphic_double,get_control_double * .04 02-28-92 jba ANSI C changes * .05 04-10-92 jba pact now used to test for asyn processing, not status + * .06 04-18-92 jba removed process from dev init_record parms */ #include @@ -120,7 +121,7 @@ static long init_record(ppd) } /* call device support init_record */ if( pdset->init_record ) { - if((status=(*pdset->init_record)(ppd,process))) return(status); + if((status=(*pdset->init_record)(ppd))) return(status); } return(0); } diff --git a/src/rec/recPulseTrain.c b/src/rec/recPulseTrain.c index a518559a3..b5f51ba32 100644 --- a/src/rec/recPulseTrain.c +++ b/src/rec/recPulseTrain.c @@ -35,6 +35,7 @@ * .04 02-28-92 jba Changed get_precision,get_graphic_double,get_control_double * .05 02-28-92 jba ANSI C changes * .06 04-10-92 jba pact now used to test for asyn processing, not status + * .07 04-18-92 jba removed process from dev init_record parms */ #include @@ -136,7 +137,7 @@ static long init_record(ppt) } /* call device support init_record */ if( pdset->init_record ) { - if((status=(*pdset->init_record)(ppt,process))) return(status); + if((status=(*pdset->init_record)(ppt))) return(status); } return(0); } diff --git a/src/rec/recSteppermotor.c b/src/rec/recSteppermotor.c index 328c32941..31c8d2910 100644 --- a/src/rec/recSteppermotor.c +++ b/src/rec/recSteppermotor.c @@ -83,6 +83,7 @@ Make STOP stop even if retry>0 Make motor move whenever VAL field accessed * .27 04-08-92 mrk break out device support + * .28 04-18-92 jba removed process from dev init_record parms */ #include @@ -188,7 +189,7 @@ static long init_record(psm) return(S_dev_missingSup); } if( pdset->init_record ) { - if((status=(*pdset->init_record)(psm,process))) return(status); + if((status=(*pdset->init_record)(psm))) return(status); } /* get the initial value if dol is a constant*/ diff --git a/src/rec/recStringin.c b/src/rec/recStringin.c index 5c5f83524..2b497853c 100644 --- a/src/rec/recStringin.c +++ b/src/rec/recStringin.c @@ -33,6 +33,7 @@ * .02 02-05-92 jba Changed function arguments from paddr to precord * .03 02-28-92 jba ANSI C changes * .04 04-10-92 jba pact now used to test for asyn processing, not status + * .05 04-18-92 jba removed process from dev init_record parms */ @@ -116,7 +117,7 @@ static long init_record(pstringin) return(S_dev_missingSup); } if( pdset->init_record ) { - if((status=(*pdset->init_record)(pstringin,process))) return(status); + if((status=(*pdset->init_record)(pstringin))) return(status); } return(0); } diff --git a/src/rec/recStringout.c b/src/rec/recStringout.c index 7fed867e5..e44018cd6 100644 --- a/src/rec/recStringout.c +++ b/src/rec/recStringout.c @@ -34,6 +34,7 @@ * .03 02-05-92 jba Changed function arguments from paddr to precord * .04 02-28-92 jba ANSI C changes * .05 04-10-92 jba pact now used to test for asyn processing, not status + * .06 04-18-92 jba removed process from dev init_record parms */ @@ -124,7 +125,7 @@ static long init_record(pstringout) pstringout->udf=FALSE; } if( pdset->init_record ) { - if((status=(*pdset->init_record)(pstringout,process))) return(status); + if((status=(*pdset->init_record)(pstringout))) return(status); } return(0); } diff --git a/src/rec/recWaveform.c b/src/rec/recWaveform.c index 19daf53de..1029a75dd 100644 --- a/src/rec/recWaveform.c +++ b/src/rec/recWaveform.c @@ -54,6 +54,7 @@ * .14 02-28-92 jba Changed get_precision,get_graphic_double,get_control_double * .15 02-28-92 jba ANSI C changes * .16 04-10-92 jba pact now used to test for asyn processing, not status + * .17 04-18-92 jba removed process from dev init_record parms */ #include @@ -157,7 +158,7 @@ static long init_record(pwf) return(S_dev_missingSup); } if( pdset->init_record ) { - if((status=(*pdset->init_record)(pwf,process))) return(status); + if((status=(*pdset->init_record)(pwf))) return(status); } } return(0);