ANSI C changes

This commit is contained in:
Janet B. Anderson
1992-03-17 17:32:22 +00:00
parent d5896f9d30
commit 96b37db2df
45 changed files with 98 additions and 14 deletions

View File

@@ -33,6 +33,7 @@
* .01 11-11-91 jba Moved set of alarm stat and sevr to macros
* .02 12-02-91 jba Added cmd control to io-interrupt processing
* .03 12-12-91 jba Set cmd to zero in io-interrupt processing
* .04 03-13-92 jba ANSI C changes
* ...
*/
@@ -41,6 +42,7 @@
#include <vxWorks.h>
#include <types.h>
#include <stdioLib.h>
#include <string.h>
#include <alarm.h>
#include <cvtTable.h>

View File

@@ -31,6 +31,7 @@
* Modification Log:
* -----------------
* .01 11-11-91 jba Moved set of alarm stat and sevr to macros
* .02 03-13-92 jba ANSI C changes
* ...
*/
@@ -39,6 +40,7 @@
#include <vxWorks.h>
#include <types.h>
#include <stdioLib.h>
#include <string.h>
#include <alarm.h>
#include <cvtTable.h>

View File

@@ -32,6 +32,7 @@
* -----------------
* .01 11-11-91 jba Moved set of alarm stat and sevr to macros
* .02 03-04-92 jba Added special_linconv
* .03 03-13-92 jba ANSI C changes
* ...
*/

View File

@@ -32,6 +32,7 @@
* -----------------
* .01 01-08-92 jba Added cast in call to wdStart to avoid compile warning msg
* .02 02-05-92 jba Changed function arguments from paddr to precord
* .02 03-13-92 jba ANSI C changes
* ...
*/
@@ -39,6 +40,8 @@
#include <types.h>
#include <stdioLib.h>
#include <wdLib.h>
#include <memLib.h>
#include <string.h>
#include <alarm.h>
#include <callback.h>
@@ -122,7 +125,6 @@ static long read_ai(pai)
struct aiRecord *pai;
{
char message[100];
long status,options,nRequest;
struct callback *pcallback=(struct callback *)(pai->dpvt);
int wait_time;

View File

@@ -31,12 +31,14 @@
* Modification Log:
* -----------------
* .01 11-11-91 jba Moved set of alarm stat and sevr to macros
* .02 03-13-92 jba ANSI C changes
* ...
*/
#include <vxWorks.h>
#include <types.h>
#include <stdioLib.h>
#include <string.h>
#include <alarm.h>
#include <cvtTable.h>

View File

@@ -33,12 +33,14 @@
* .01 11-11-91 jba Moved set of alarm stat and sevr to macros
* .02 12-02-91 jba Added cmd control to io-interrupt processing
* .03 12-12-91 jba Set cmd to zero in io-interrupt processing
* .04 03-13-92 jba ANSI C changes
* ...
*/
#include <vxWorks.h>
#include <types.h>
#include <stdioLib.h>
#include <string.h>
#include <alarm.h>
#include <cvtTable.h>

View File

@@ -31,12 +31,14 @@
* Modification Log:
* -----------------
* .01 11-11-91 jba Moved set of alarm stat and sevr to macros
* .02 03-13-92 jba ANSI C changes
* ...
*/
#include <vxWorks.h>
#include <types.h>
#include <stdioLib.h>
#include <string.h>
#include <alarm.h>
#include <cvtTable.h>

View File

@@ -32,12 +32,14 @@
* -----------------
* .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
* ...
*/
#include <vxWorks.h>
#include <types.h>
#include <stdioLib.h>
#include <string.h>
#include <alarm.h>
#include <dbDefs.h>

View File

@@ -31,6 +31,7 @@
* -----------------
* .01 11-11-91 jba Moved set of alarm stat and sevr to macros
* .02 03-04-92 jba Added special_linconv
* .03 03-13-92 jba ANSI C changes
* ...
*/

View File

@@ -33,6 +33,7 @@
* .01 11-11-91 jba Moved set of alarm stat and sevr to macros
* .02 01-08-92 jba Added cast in call to wdStart to avoid compile warning msg
* .03 02-05-92 jba Changed function arguments from paddr to precord
* .04 03-13-92 jba ANSI C changes
* ...
*/
@@ -41,6 +42,8 @@
#include <types.h>
#include <stdioLib.h>
#include <wdLib.h>
#include <memLib.h>
#include <string.h>
#include <alarm.h>
#include <callback.h>
@@ -121,7 +124,6 @@ static long write_ao(pao)
struct aoRecord *pao;
{
char message[100];
long status,options,nRequest;
struct callback *pcallback=(struct callback *)(pao->dpvt);
int wait_time;

View File

@@ -31,6 +31,7 @@
* Modification Log:
* -----------------
* .01 11-11-91 jba Moved set of alarm stat and sevr to macros
* .02 03-13-92 jba ANSI C changes
* ...
*/
@@ -38,6 +39,7 @@
#include <vxWorks.h>
#include <types.h>
#include <stdioLib.h>
#include <string.h>
#include <alarm.h>
#include <dbDefs.h>

View File

@@ -31,6 +31,7 @@
* Modification Log:
* -----------------
* .01 11-11-91 jba Moved set of alarm stat and sevr to macros
* .02 03-13-92 jba ANSI C changes
* ...
*/
@@ -38,6 +39,7 @@
#include <vxWorks.h>
#include <types.h>
#include <stdioLib.h>
#include <string.h>
#include <alarm.h>
#include <dbDefs.h>

View File

@@ -31,6 +31,7 @@
* Modification Log:
* -----------------
* .01 11-11-91 jba Moved set of alarm stat and sevr to macros
* .02 03-13-92 jba ANSI C changes
* ...
*/
@@ -38,6 +39,7 @@
#include <vxWorks.h>
#include <types.h>
#include <stdioLib.h>
#include <string.h>
#include <alarm.h>
#include <dbDefs.h>

View File

@@ -32,6 +32,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
* .02 03-13-92 jba ANSI C changes
* ...
*/
@@ -39,6 +40,7 @@
#include <vxWorks.h>
#include <types.h>
#include <stdioLib.h>
#include <string.h>
#include <alarm.h>
#include <dbDefs.h>

View File

@@ -33,6 +33,7 @@
* .01 11-11-91 jba Moved set of alarm stat and sevr to macros
* .02 01-08-92 jba Added cast in call to wdStart to avoid compile warning msg
* .03 02-05-92 jba Changed function arguments from paddr to precord
* .04 03-13-92 jba ANSI C changes
* ...
*/
@@ -41,6 +42,8 @@
#include <types.h>
#include <stdioLib.h>
#include <wdLib.h>
#include <memLib.h>
#include <string.h>
#include <alarm.h>
#include <callback.h>
@@ -122,7 +125,6 @@ static long read_bi(pbi)
struct biRecord *pbi;
{
char message[100];
long status,options,nRequest;
struct callback *pcallback=(struct callback *)(pbi->dpvt);
int wait_time;

View File

@@ -31,6 +31,7 @@
* Modification Log:
* -----------------
* .01 11-11-91 jba Moved set of alarm stat and sevr to macros
* .02 03-13-92 jba ANSI C changes
* ...
*/
@@ -38,6 +39,7 @@
#include <vxWorks.h>
#include <types.h>
#include <stdioLib.h>
#include <string.h>
#include <alarm.h>
#include <dbDefs.h>

View File

@@ -31,6 +31,7 @@
* Modification Log:
* -----------------
* .01 11-11-91 jba Moved set of alarm stat and sevr to macros
* .02 03-13-92 jba ANSI C changes
* ...
*/
@@ -38,6 +39,7 @@
#include <vxWorks.h>
#include <types.h>
#include <stdioLib.h>
#include <string.h>
#include <alarm.h>
#include <dbDefs.h>

View File

@@ -31,6 +31,7 @@
* Modification Log:
* -----------------
* .01 11-11-91 jba Moved set of alarm stat and sevr to macros
* .02 03-13-92 jba ANSI C changes
* ...
*/
@@ -38,6 +39,7 @@
#include <vxWorks.h>
#include <types.h>
#include <stdioLib.h>
#include <string.h>
#include <alarm.h>
#include <dbDefs.h>

View File

@@ -33,6 +33,7 @@
* .01 11-11-91 jba Moved set of alarm stat and sevr to macros
* .02 01-08-92 jba Added cast in call to wdStart to avoid compile warning msg
* .03 02-05-92 jba Changed function arguments from paddr to precord
* .04 03-13-92 jba ANSI C changes
* ...
*/
@@ -42,6 +43,8 @@
#include <types.h>
#include <stdioLib.h>
#include <wdLib.h>
#include <memLib.h>
#include <string.h>
#include <alarm.h>
#include <callback.h>
@@ -121,7 +124,6 @@ static long write_bo(pbo)
struct boRecord *pbo;
{
char message[100];
long status,options,nRequest;
struct callback *pcallback=(struct callback *)(pbo->dpvt);
int wait_time;

View File

@@ -31,6 +31,7 @@
* Modification Log:
* -----------------
* .01 11-11-91 jba Moved set of alarm stat and sevr to macros
* .02 03-13-92 jba ANSI C changes
* ...
*/
@@ -38,6 +39,7 @@
#include <vxWorks.h>
#include <types.h>
#include <stdioLib.h>
#include <string.h>
#include <alarm.h>
#include <dbDefs.h>

View File

@@ -30,12 +30,14 @@
* Modification Log:
* -----------------
* .00 12-13-91 jba Initial definition
* .02 03-13-92 jba ANSI C changes
*/
#include <vxWorks.h>
#include <types.h>
#include <stdioLib.h>
#include <string.h>
#include <alarm.h>
#include <dbDefs.h>
@@ -69,7 +71,6 @@ static long init_record(pevent)
struct eventRecord *pevent;
{
char message[100];
int precision;
/* event.inp must be a CONSTANT or a PV_LINK or a DB_LINK or a CA_LINK*/
switch (pevent->inp.type) {

View File

@@ -30,6 +30,7 @@
* Modification Log:
* -----------------
* .00 12-13-91 jba Initial definition
* .02 03-13-92 jba ANSI C changes
* ...
*/
@@ -37,6 +38,7 @@
#include <types.h>
#include <stdioLib.h>
#include <wdLib.h>
#include <string.h>
#include <dbDefs.h>
#include <dbAccess.h>
@@ -89,7 +91,6 @@ static long get_ioint_info(
static long read_event(pevent)
struct eventRecord *pevent;
{
char message[100];
int wait_time;
wait_time = (int)(pevent->proc * vxTicksPerSecond);

View File

@@ -31,6 +31,7 @@
* -----------------
* .01 mm-dd-yy iii Comment
* .02 mm-dd-yy iii Comment
* .03 03-13-92 jba ANSI C changes
* ...
*/
@@ -39,6 +40,7 @@
#include <vxWorks.h>
#include <types.h>
#include <stdioLib.h>
#include <string.h>
#include <alarm.h>
#include <cvtTable.h>

View File

@@ -32,6 +32,7 @@
* .01 11-11-91 jba Moved set of alarm stat and sevr to macros
* .02 01-08-92 jba Added cast in call to wdStart to avoid compile warning msg
* .03 02-05-92 jba Changed function arguments from paddr to precord
* .04 03-13-92 jba ANSI C changes
* ...
*/
@@ -39,6 +40,8 @@
#include <types.h>
#include <stdioLib.h>
#include <wdLib.h>
#include <memLib.h>
#include <string.h>
#include <alarm.h>
#include <callback.h>
@@ -118,7 +121,6 @@ static long read_histogram(phistogram)
struct histogramRecord *phistogram;
{
char message[100];
long status,options,nRequest;
struct callback *pcallback=(struct callback *)(phistogram->dpvt);
int wait_time;

View File

@@ -30,12 +30,14 @@
* Modification Log:
* -----------------
* .01 11-11-91 jba Moved set of alarm stat and sevr to macros
* .02 03-13-92 jba ANSI C changes
*/
#include <vxWorks.h>
#include <types.h>
#include <stdioLib.h>
#include <string.h>
#include <alarm.h>
#include <dbDefs.h>

View File

@@ -30,11 +30,13 @@
* Modification Log:
* -----------------
* .01 11-11-91 jba Moved set of alarm stat and sevr to macros
* .02 03-13-92 jba ANSI C changes
*/
#include <vxWorks.h>
#include <types.h>
#include <stdioLib.h>
#include <string.h>
#include <alarm.h>
#include <dbDefs.h>

View File

@@ -32,6 +32,7 @@
* Modification Log:
* -----------------
* .01 11-11-91 jba Moved set of alarm stat and sevr to macros
* .02 03-13-92 jba ANSI C changes
* ...
*/
@@ -39,6 +40,7 @@
#include <vxWorks.h>
#include <types.h>
#include <stdioLib.h>
#include <string.h>
#include <alarm.h>
#include <dbDefs.h>

View File

@@ -31,6 +31,7 @@
* Modification Log:
* -----------------
* .01 11-11-91 jba Moved set of alarm stat and sevr to macros
* .02 03-13-92 jba ANSI C changes
* ...
*/
@@ -38,6 +39,7 @@
#include <vxWorks.h>
#include <types.h>
#include <stdioLib.h>
#include <string.h>
#include <alarm.h>
#include <dbDefs.h>

View File

@@ -32,6 +32,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
* ...
*/
@@ -39,6 +40,7 @@
#include <vxWorks.h>
#include <types.h>
#include <stdioLib.h>
#include <string.h>
#include <alarm.h>
#include <dbDefs.h>

View File

@@ -33,6 +33,7 @@
* .01 11-11-91 jba Moved set of alarm stat and sevr to macros
* .02 01-08-92 jba Added cast in call to wdStart to avoid compile warning msg
* .03 02-05-92 jba Changed function arguments from paddr to precord
* .04 03-13-92 jba ANSI C changes
* ...
*/
@@ -41,6 +42,8 @@
#include <types.h>
#include <stdioLib.h>
#include <wdLib.h>
#include <memLib.h>
#include <string.h>
#include <alarm.h>
#include <callback.h>
@@ -121,7 +124,6 @@ static long read_mbbi(pmbbi)
struct mbbiRecord *pmbbi;
{
char message[100];
long status,options,nRequest;
struct callback *pcallback=(struct callback *)(pmbbi->dpvt);
int wait_time;

View File

@@ -32,6 +32,7 @@
* Modification Log:
* -----------------
* .01 11-11-91 jba Moved set of alarm stat and sevr to macros
* .02 03-13-92 jba ANSI C changes
* ...
*/
@@ -39,6 +40,7 @@
#include <vxWorks.h>
#include <types.h>
#include <stdioLib.h>
#include <string.h>
#include <alarm.h>
#include <dbDefs.h>

View File

@@ -32,6 +32,7 @@
* Modification Log:
* -----------------
* .01 11-11-91 jba Moved set of alarm stat and sevr to macros
* .02 03-13-92 jba ANSI C changes
* ...
*/
@@ -39,6 +40,7 @@
#include <vxWorks.h>
#include <types.h>
#include <stdioLib.h>
#include <string.h>
#include <alarm.h>
#include <dbDefs.h>

View File

@@ -31,6 +31,7 @@
* Modification Log:
* -----------------
* .01 11-11-91 jba Moved set of alarm stat and sevr to macros
* .02 03-13-92 jba ANSI C changes
* ...
*/
@@ -38,6 +39,7 @@
#include <vxWorks.h>
#include <types.h>
#include <stdioLib.h>
#include <string.h>
#include <alarm.h>
#include <dbDefs.h>

View File

@@ -33,6 +33,7 @@
* .01 11-11-91 jba Moved set of alarm stat and sevr to macros
* .02 01-08-92 jba Added cast in call to wdStart to avoid compile warning msg
* .03 02-05-92 jba Changed function arguments from paddr to precord
* .04 03-13-92 jba ANSI C changes
* ...
*/
@@ -41,6 +42,8 @@
#include <types.h>
#include <stdioLib.h>
#include <wdLib.h>
#include <memLib.h>
#include <string.h>
#include <alarm.h>
#include <callback.h>
@@ -121,7 +124,6 @@ static long write_mbbo(pmbbo)
struct mbboRecord *pmbbo;
{
char message[100];
long status,options,nRequest;
struct callback *pcallback=(struct callback *)(pmbbo->dpvt);
int wait_time;

View File

@@ -32,6 +32,7 @@
* Modification Log:
* -----------------
* .01 11-11-91 jba Moved set of alarm stat and sevr to macros
* .02 03-13-92 jba ANSI C changes
* ...
*/
@@ -39,6 +40,7 @@
#include <vxWorks.h>
#include <types.h>
#include <stdioLib.h>
#include <string.h>
#include <alarm.h>
#include <dbDefs.h>

View File

@@ -33,6 +33,7 @@
* .02 11-26-91 jba Initialized clockDiv to 0
* .03 12-11-91 jba Moved set of alarm stat and sevr to macros
* .04 01-14-92 mrk Added interrupt support
* .05 03-13-92 jba ANSI C changes
* ...
*/
@@ -46,6 +47,7 @@
#include <vme.h>
#include <types.h>
#include <stdioLib.h>
#include <string.h>
#include <68k/iv.h>
#include <alarm.h>

View File

@@ -30,6 +30,7 @@
* Modification Log:
* -----------------
* .01 11-11-91 jba Moved set of alarm stat and sevr to macros
* .02 03-13-92 jba ANSI C changes
* ...
*/
@@ -37,6 +38,7 @@
#include <vxWorks.h>
#include <types.h>
#include <stdioLib.h>
#include <string.h>
#include <alarm.h>
#include <dbDefs.h>

View File

@@ -30,12 +30,14 @@
* Modification Log:
* -----------------
* .01 11-11-91 jba Moved set of alarm stat and sevr to macros
* .02 03-13-92 jba ANSI C changes
*/
#include <vxWorks.h>
#include <types.h>
#include <stdioLib.h>
#include <string.h>
#include <alarm.h>
#include <dbDefs.h>
@@ -69,7 +71,6 @@ static long init_record(pstringin)
struct stringinRecord *pstringin;
{
char message[100];
int precision;
/* stringin.inp must be a CONSTANT or a PV_LINK or a DB_LINK or a CA_LINK*/
switch (pstringin->inp.type) {

View File

@@ -32,6 +32,7 @@
* .01 11-11-91 jba Moved set of alarm stat and sevr to macros
* .02 01-08-92 jba Added cast in call to wdStart to avoid compile warning msg
* .03 02-05-92 jba Changed function arguments from paddr to precord
* .04 03-13-92 jba ANSI C changes
* ...
*/
@@ -40,6 +41,8 @@
#include <types.h>
#include <stdioLib.h>
#include <wdLib.h>
#include <memLib.h>
#include <string.h>
#include <alarm.h>
#include <callback.h>
@@ -122,7 +125,6 @@ static long read_stringin(pstringin)
struct stringinRecord *pstringin;
{
char message[100];
long status,options,nRequest;
struct callback *pcallback=(struct callback *)(pstringin->dpvt);
int wait_time;

View File

@@ -30,11 +30,13 @@
* Modification Log:
* -----------------
* .01 11-11-91 jba Moved set of alarm stat and sevr to macros
* .02 03-13-92 jba ANSI C changes
*/
#include <vxWorks.h>
#include <types.h>
#include <stdioLib.h>
#include <string.h>
#include <alarm.h>
#include <dbDefs.h>

View File

@@ -32,6 +32,7 @@
* .01 11-11-91 jba Moved set of alarm stat and sevr to macros
* .02 01-08-92 jba Added cast in call to wdStart to avoid compile warning msg
* .03 02-05-92 jba Changed function arguments from paddr to precord
* .04 03-13-92 jba ANSI C changes
* ...
*/
@@ -40,6 +41,8 @@
#include <types.h>
#include <stdioLib.h>
#include <wdLib.h>
#include <memLib.h>
#include <string.h>
#include <alarm.h>
#include <callback.h>
@@ -119,7 +122,6 @@ static long write_stringout(pstringout)
struct stringoutRecord *pstringout;
{
char message[100];
long status,options,nRequest;
struct callback *pcallback=(struct callback *)(pstringout->dpvt);
int wait_time;

View File

@@ -35,6 +35,7 @@
* .03 12-12-91 jba Set cmd to zero in io-interrupt processing
* .04 02-05-92 jba Changed function arguments from paddr to precord
* .05 02-28-92 jba Changed callback handling, ANSI C changes
* .06 03-13-92 jba ANSI C changes
* ...
*/
@@ -42,6 +43,7 @@
#include <vxWorks.h>
#include <types.h>
#include <stdioLib.h>
#include <string.h>
#include <alarm.h>
#include <dbDefs.h>

View File

@@ -31,6 +31,7 @@
* Modification Log:
* -----------------
* .01 11-11-91 jba Moved set of alarm stat and sevr to macros
* .02 03-13-92 jba ANSI C changes
* ...
*/
@@ -38,6 +39,7 @@
#include <vxWorks.h>
#include <types.h>
#include <stdioLib.h>
#include <string.h>
#include <alarm.h>
#include <dbDefs.h>
@@ -95,7 +97,7 @@ static long read_wf(pwf)
struct waveformRecord *pwf;
{
char message[100];
long status,options,nRequest;
long options,nRequest;
/* wf.inp must be a CONSTANT or a DB_LINK or a CA_LINK*/
switch (pwf->inp.type) {

View File

@@ -33,6 +33,7 @@
* .01 11-11-91 jba Moved set of alarm stat and sevr to macros
* .02 01-08-92 jba Added cast in call to wdStart to avoid compile warning msg
* .03 02-05-92 jba Changed function arguments from paddr to precord
* .04 03-13-92 jba ANSI C changes
* ...
*/
@@ -41,6 +42,8 @@
#include <types.h>
#include <stdioLib.h>
#include <wdLib.h>
#include <memLib.h>
#include <string.h>
#include <alarm.h>
#include <callback.h>
@@ -119,7 +122,6 @@ static long read_wf(pwf)
struct waveformRecord *pwf;
{
char message[100];
long status,options,nRequest;
struct callback *pcallback=(struct callback *)(pwf->dpvt);
int wait_time;

View File

@@ -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 02-28-92 jba Changed callback handling, ANSI C changes
* .02 03-13-92 jba ANSI C changes
* ...
*/