Changed return of init_record to don't convert
This commit is contained in:
@@ -33,6 +33,7 @@
|
||||
* .01 11-11-91 jba Moved set of alarm stat and sevr to macros
|
||||
* .02 02-05-92 jba Changed function arguments from paddr to precord
|
||||
* .03 03-13-92 jba ANSI C changes
|
||||
* .04 04-01-92 jba Changed return of init_record to dont convert
|
||||
* ...
|
||||
*/
|
||||
|
||||
@@ -79,12 +80,13 @@ static long init_record(pao)
|
||||
struct aoRecord *pao;
|
||||
{
|
||||
|
||||
long status;
|
||||
long status=0;
|
||||
|
||||
if (pao->out.type == PV_LINK)
|
||||
status = dbCaAddOutlink(&(pao->out), (void *) pao, "OVAL");
|
||||
else
|
||||
status = 0L;
|
||||
|
||||
/* dont convert */
|
||||
if ( status == 0 ) status = 2;
|
||||
|
||||
return status;
|
||||
|
||||
|
||||
@@ -32,6 +32,7 @@
|
||||
* -----------------
|
||||
* .01 11-11-91 jba Moved set of alarm stat and sevr to macros
|
||||
* .02 03-13-92 jba ANSI C changes
|
||||
* .03 04-01-92 jba Changed return of init_record to dont convert
|
||||
* ...
|
||||
*/
|
||||
|
||||
@@ -76,13 +77,14 @@ static long init_record(pbo)
|
||||
struct boRecord *pbo;
|
||||
{
|
||||
|
||||
long status;
|
||||
long status=0;
|
||||
|
||||
if (pbo->out.type == PV_LINK)
|
||||
status = dbCaAddOutlink(&(pbo->out), (void *) pbo, "VAL");
|
||||
else
|
||||
status = 0L;
|
||||
|
||||
/* dont convert */
|
||||
if (status == 0 ) status=2;
|
||||
|
||||
return status;
|
||||
|
||||
} /* end init_record() */
|
||||
|
||||
@@ -32,6 +32,7 @@
|
||||
* -----------------
|
||||
* .01 11-11-91 jba Moved set of alarm stat and sevr to macros
|
||||
* .02 03-13-92 jba ANSI C changes
|
||||
* .04 04-01-92 jba Changed return of init_record to dont convert
|
||||
* ...
|
||||
*/
|
||||
|
||||
@@ -78,13 +79,14 @@ static long init_record(pmbbo)
|
||||
struct mbboRecord *pmbbo;
|
||||
{
|
||||
|
||||
long status;
|
||||
long status=0;
|
||||
|
||||
if (pmbbo->out.type == PV_LINK)
|
||||
status = dbCaAddOutlink(&(pmbbo->out), (void *) pmbbo, "VAL");
|
||||
else
|
||||
status = 0L;
|
||||
|
||||
/* dont convert */
|
||||
if ( status == 0 ) status=2;
|
||||
|
||||
return status;
|
||||
|
||||
} /* end init_record() */
|
||||
|
||||
Reference in New Issue
Block a user