use ansi function prototypes
This commit is contained in:
@@ -67,8 +67,7 @@ struct {
|
||||
NULL
|
||||
};
|
||||
|
||||
static long init_record(pai)
|
||||
struct aiRecord *pai;
|
||||
static long init_record(aiRecord *pai)
|
||||
{
|
||||
|
||||
/* ai.inp must be a CONSTANT or a PV_LINK or a DB_LINK or a CA_LINK*/
|
||||
@@ -92,8 +91,7 @@ static long init_record(pai)
|
||||
return(0);
|
||||
}
|
||||
|
||||
static long read_ai(pai)
|
||||
struct aiRecord *pai;
|
||||
static long read_ai(aiRecord *pai)
|
||||
{
|
||||
long status;
|
||||
|
||||
|
||||
@@ -75,8 +75,7 @@ struct {
|
||||
NULL};
|
||||
|
||||
|
||||
static long init_record(pao)
|
||||
struct aoRecord *pao;
|
||||
static long init_record(aoRecord *pao)
|
||||
{
|
||||
|
||||
long status=0;
|
||||
@@ -85,8 +84,7 @@ struct aoRecord *pao;
|
||||
|
||||
} /* end init_record() */
|
||||
|
||||
static long write_ao(pao)
|
||||
struct aoRecord *pao;
|
||||
static long write_ao(aoRecord *pao)
|
||||
{
|
||||
long status;
|
||||
|
||||
|
||||
@@ -63,8 +63,7 @@ struct {
|
||||
read_bi
|
||||
};
|
||||
|
||||
static long init_record(pbi)
|
||||
struct biRecord *pbi;
|
||||
static long init_record(biRecord *pbi)
|
||||
{
|
||||
|
||||
/* bi.inp must be a CONSTANT or a PV_LINK or a DB_LINK or a CA_LINK */
|
||||
@@ -85,8 +84,7 @@ static long init_record(pbi)
|
||||
return(0);
|
||||
}
|
||||
|
||||
static long read_bi(pbi)
|
||||
struct biRecord *pbi;
|
||||
static long read_bi(biRecord *pbi)
|
||||
{
|
||||
long status;
|
||||
|
||||
|
||||
@@ -64,8 +64,7 @@ struct {
|
||||
read_bi
|
||||
};
|
||||
|
||||
static long init_record(pbi)
|
||||
struct biRecord *pbi;
|
||||
static long init_record(biRecord *pbi)
|
||||
{
|
||||
|
||||
/* bi.inp must be a CONSTANT or a PV_LINK or a DB_LINK or a CA_LINK*/
|
||||
@@ -85,8 +84,7 @@ static long init_record(pbi)
|
||||
return(0);
|
||||
}
|
||||
|
||||
static long read_bi(pbi)
|
||||
struct biRecord *pbi;
|
||||
static long read_bi(biRecord *pbi)
|
||||
{
|
||||
long status;
|
||||
|
||||
|
||||
@@ -70,8 +70,7 @@ struct {
|
||||
NULL,
|
||||
write_bo};
|
||||
|
||||
static long init_record(pbo)
|
||||
struct boRecord *pbo;
|
||||
static long init_record(boRecord *pbo)
|
||||
{
|
||||
|
||||
long status=0;
|
||||
@@ -82,8 +81,7 @@ struct boRecord *pbo;
|
||||
|
||||
} /* end init_record() */
|
||||
|
||||
static long write_bo(pbo)
|
||||
struct boRecord *pbo;
|
||||
static long write_bo(boRecord *pbo)
|
||||
{
|
||||
long status;
|
||||
|
||||
|
||||
@@ -70,8 +70,7 @@ struct {
|
||||
|
||||
|
||||
|
||||
static long init_record(pbo)
|
||||
struct boRecord *pbo;
|
||||
static long init_record(boRecord *pbo)
|
||||
{
|
||||
long status;
|
||||
|
||||
@@ -81,8 +80,7 @@ struct boRecord *pbo;
|
||||
|
||||
} /* end init_record() */
|
||||
|
||||
static long write_bo(pbo)
|
||||
struct boRecord *pbo;
|
||||
static long write_bo(boRecord *pbo)
|
||||
{
|
||||
long status;
|
||||
|
||||
|
||||
@@ -63,8 +63,7 @@ struct {
|
||||
read_event
|
||||
};
|
||||
|
||||
static long init_record(pevent)
|
||||
struct eventRecord *pevent;
|
||||
static long init_record(eventRecord *pevent)
|
||||
{
|
||||
|
||||
/* event.inp must be a CONSTANT or a PV_LINK or a DB_LINK or a CA_LINK*/
|
||||
@@ -85,8 +84,7 @@ static long init_record(pevent)
|
||||
return(0);
|
||||
}
|
||||
|
||||
static long read_event(pevent)
|
||||
struct eventRecord *pevent;
|
||||
static long read_event(eventRecord *pevent)
|
||||
{
|
||||
long status;
|
||||
|
||||
|
||||
@@ -66,8 +66,7 @@ struct {
|
||||
NULL
|
||||
};
|
||||
|
||||
static long init_record(phistogram)
|
||||
struct histogramRecord *phistogram;
|
||||
static long init_record(histogramRecord *phistogram)
|
||||
{
|
||||
long status = 0;
|
||||
|
||||
@@ -89,8 +88,7 @@ static long init_record(phistogram)
|
||||
return(status);
|
||||
}
|
||||
|
||||
static long read_histogram(phistogram)
|
||||
struct histogramRecord *phistogram;
|
||||
static long read_histogram(histogramRecord *phistogram)
|
||||
{
|
||||
long status;
|
||||
|
||||
|
||||
@@ -63,8 +63,7 @@ struct {
|
||||
read_longin
|
||||
};
|
||||
|
||||
static long init_record(plongin)
|
||||
struct longinRecord *plongin;
|
||||
static long init_record(longinRecord *plongin)
|
||||
{
|
||||
|
||||
/* longin.inp must be a CONSTANT or a PV_LINK or a DB_LINK or a CA_LINK*/
|
||||
@@ -85,8 +84,7 @@ static long init_record(plongin)
|
||||
return(0);
|
||||
}
|
||||
|
||||
static long read_longin(plongin)
|
||||
struct longinRecord *plongin;
|
||||
static long read_longin(longinRecord *plongin)
|
||||
{
|
||||
long status;
|
||||
|
||||
|
||||
@@ -61,14 +61,12 @@ struct {
|
||||
write_longout
|
||||
};
|
||||
|
||||
static long init_record(plongout)
|
||||
struct longoutRecord *plongout;
|
||||
static long init_record(longoutRecord *plongout)
|
||||
{
|
||||
return(0);
|
||||
} /* end init_record() */
|
||||
|
||||
static long write_longout(plongout)
|
||||
struct longoutRecord *plongout;
|
||||
static long write_longout(longoutRecord *plongout)
|
||||
{
|
||||
long status;
|
||||
|
||||
|
||||
@@ -61,8 +61,7 @@ struct {
|
||||
read_mbbi
|
||||
};
|
||||
|
||||
static long init_record(pmbbi)
|
||||
struct mbbiDirectRecord *pmbbi;
|
||||
static long init_record(mbbiDirectRecord *pmbbi)
|
||||
{
|
||||
|
||||
/* mbbi.inp must be a CONSTANT or a PV_LINK or a DB_LINK or a CA_LINK*/
|
||||
@@ -83,8 +82,7 @@ static long init_record(pmbbi)
|
||||
return(0);
|
||||
}
|
||||
|
||||
static long read_mbbi(pmbbi)
|
||||
struct mbbiDirectRecord *pmbbi;
|
||||
static long read_mbbi(mbbiDirectRecord *pmbbi)
|
||||
{
|
||||
long status;
|
||||
|
||||
|
||||
@@ -61,8 +61,7 @@ struct {
|
||||
read_mbbi
|
||||
};
|
||||
|
||||
static long init_record(pmbbi)
|
||||
struct mbbiDirectRecord *pmbbi;
|
||||
static long init_record(mbbiDirectRecord *pmbbi)
|
||||
{
|
||||
|
||||
/* mbbi.inp must be a CONSTANT or a PV_LINK or a DB_LINK or a CA_LINK*/
|
||||
@@ -85,8 +84,7 @@ static long init_record(pmbbi)
|
||||
return(0);
|
||||
}
|
||||
|
||||
static long read_mbbi(pmbbi)
|
||||
struct mbbiDirectRecord *pmbbi;
|
||||
static long read_mbbi(mbbiDirectRecord *pmbbi)
|
||||
{
|
||||
long status;
|
||||
|
||||
|
||||
@@ -63,8 +63,7 @@ struct {
|
||||
read_mbbi
|
||||
};
|
||||
|
||||
static long init_record(pmbbi)
|
||||
struct mbbiRecord *pmbbi;
|
||||
static long init_record(mbbiRecord *pmbbi)
|
||||
{
|
||||
|
||||
if (pmbbi->inp.type == CONSTANT) {
|
||||
@@ -74,8 +73,7 @@ static long init_record(pmbbi)
|
||||
return(0);
|
||||
}
|
||||
|
||||
static long read_mbbi(pmbbi)
|
||||
struct mbbiRecord *pmbbi;
|
||||
static long read_mbbi(mbbiRecord *pmbbi)
|
||||
{
|
||||
long status;
|
||||
|
||||
|
||||
@@ -64,8 +64,7 @@ struct {
|
||||
read_mbbi
|
||||
};
|
||||
|
||||
static long init_record(pmbbi)
|
||||
struct mbbiRecord *pmbbi;
|
||||
static long init_record(mbbiRecord *pmbbi)
|
||||
{
|
||||
|
||||
if (pmbbi->inp.type == CONSTANT) {
|
||||
@@ -77,8 +76,7 @@ static long init_record(pmbbi)
|
||||
return(0);
|
||||
}
|
||||
|
||||
static long read_mbbi(pmbbi)
|
||||
struct mbbiRecord *pmbbi;
|
||||
static long read_mbbi(mbbiRecord *pmbbi)
|
||||
{
|
||||
long status;
|
||||
|
||||
|
||||
@@ -61,8 +61,7 @@ struct {
|
||||
write_mbbo
|
||||
};
|
||||
|
||||
static long init_record(pmbbo)
|
||||
struct mbboDirectRecord *pmbbo;
|
||||
static long init_record(mbboDirectRecord *pmbbo)
|
||||
{
|
||||
long status = 0;
|
||||
|
||||
@@ -72,8 +71,7 @@ struct mbboDirectRecord *pmbbo;
|
||||
|
||||
} /* end init_record() */
|
||||
|
||||
static long write_mbbo(pmbbo)
|
||||
struct mbboDirectRecord *pmbbo;
|
||||
static long write_mbbo(mbboDirectRecord *pmbbo)
|
||||
{
|
||||
long status;
|
||||
|
||||
|
||||
@@ -62,8 +62,7 @@ struct {
|
||||
write_mbbo
|
||||
};
|
||||
|
||||
static long init_record(pmbbo)
|
||||
struct mbboDirectRecord *pmbbo;
|
||||
static long init_record(mbboDirectRecord *pmbbo)
|
||||
{
|
||||
long status = 0;
|
||||
|
||||
@@ -75,8 +74,7 @@ struct mbboDirectRecord *pmbbo;
|
||||
return status;
|
||||
} /* end init_record() */
|
||||
|
||||
static long write_mbbo(pmbbo)
|
||||
struct mbboDirectRecord *pmbbo;
|
||||
static long write_mbbo(mbboDirectRecord *pmbbo)
|
||||
{
|
||||
long status;
|
||||
unsigned long data;
|
||||
|
||||
@@ -64,8 +64,7 @@ struct {
|
||||
write_mbbo
|
||||
};
|
||||
|
||||
static long init_record(pmbbo)
|
||||
struct mbboRecord *pmbbo;
|
||||
static long init_record(mbboRecord *pmbbo)
|
||||
{
|
||||
|
||||
long status=0;
|
||||
@@ -76,8 +75,7 @@ struct mbboRecord *pmbbo;
|
||||
|
||||
} /* end init_record() */
|
||||
|
||||
static long write_mbbo(pmbbo)
|
||||
struct mbboRecord *pmbbo;
|
||||
static long write_mbbo(mbboRecord *pmbbo)
|
||||
{
|
||||
long status;
|
||||
|
||||
|
||||
@@ -61,8 +61,7 @@ struct {
|
||||
write_mbbo
|
||||
};
|
||||
|
||||
static long init_record(pmbbo)
|
||||
struct mbboRecord *pmbbo;
|
||||
static long init_record(mbboRecord *pmbbo)
|
||||
{
|
||||
|
||||
long status;
|
||||
@@ -76,8 +75,7 @@ struct mbboRecord *pmbbo;
|
||||
|
||||
} /* end init_record() */
|
||||
|
||||
static long write_mbbo(pmbbo)
|
||||
struct mbboRecord *pmbbo;
|
||||
static long write_mbbo(mbboRecord *pmbbo)
|
||||
{
|
||||
long status;
|
||||
unsigned long data;
|
||||
|
||||
@@ -71,8 +71,7 @@ struct {
|
||||
read_sa};
|
||||
|
||||
|
||||
static long init_record(psa)
|
||||
struct subArrayRecord *psa;
|
||||
static long init_record(subArrayRecord *psa)
|
||||
{
|
||||
|
||||
/* sa.inp must be a CONSTANT or a PV_LINK or a DB_LINK or a CA_LINK*/
|
||||
@@ -92,8 +91,7 @@ static long init_record(psa)
|
||||
return(0);
|
||||
}
|
||||
|
||||
static long read_sa(psa)
|
||||
struct subArrayRecord *psa;
|
||||
static long read_sa(subArrayRecord *psa)
|
||||
{
|
||||
long status,ecount,nRequest;
|
||||
|
||||
|
||||
@@ -64,8 +64,7 @@ struct {
|
||||
read_stringin
|
||||
};
|
||||
|
||||
static long init_record(pstringin)
|
||||
struct stringinRecord *pstringin;
|
||||
static long init_record(stringinRecord *pstringin)
|
||||
{
|
||||
|
||||
/* stringin.inp must be a CONSTANT or a PV_LINK or a DB_LINK or a CA_LINK*/
|
||||
@@ -86,8 +85,7 @@ static long init_record(pstringin)
|
||||
return(0);
|
||||
}
|
||||
|
||||
static long read_stringin(pstringin)
|
||||
struct stringinRecord *pstringin;
|
||||
static long read_stringin(stringinRecord *pstringin)
|
||||
{
|
||||
long status;
|
||||
|
||||
|
||||
@@ -63,8 +63,7 @@ struct {
|
||||
write_stringout
|
||||
};
|
||||
|
||||
static long init_record(pstringout)
|
||||
struct stringoutRecord *pstringout;
|
||||
static long init_record(stringoutRecord *pstringout)
|
||||
{
|
||||
return 0;
|
||||
} /* end init_record() */
|
||||
|
||||
@@ -69,8 +69,7 @@ struct {
|
||||
read_wf};
|
||||
|
||||
|
||||
static long init_record(pwf)
|
||||
struct waveformRecord *pwf;
|
||||
static long init_record(waveformRecord *pwf)
|
||||
{
|
||||
|
||||
/* wf.inp must be a CONSTANT or a PV_LINK or a DB_LINK or a CA_LINK*/
|
||||
@@ -90,8 +89,7 @@ static long init_record(pwf)
|
||||
return(0);
|
||||
}
|
||||
|
||||
static long read_wf(pwf)
|
||||
struct waveformRecord *pwf;
|
||||
static long read_wf(waveformRecord *pwf)
|
||||
{
|
||||
long status,nRequest;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user