made code proper to avoid warning/fixed some small potential bugs

This commit is contained in:
zolliker
2005-03-04 12:53:07 +00:00
parent 52e8c78aa9
commit 9a94b6dca7
29 changed files with 71 additions and 46 deletions

View File

@ -65,8 +65,9 @@ static int NIread(int devID, void *buffer, int bytesToRead){
}
}
/*--------------------------------------------------------------------*/
static void NIclear(int devID){
static int NIclear(int devID){
ibclr(devID);
return 1;
}
/*-----------------------------------------------------------------*/
static void NIerror(int code, char *buffer, int maxBuffer){