- cleaned up makefiles

- polished code to avoid warnings
This commit is contained in:
zolliker
2005-03-08 11:12:23 +00:00
parent 350c410bdf
commit 94075f06c7
60 changed files with 189 additions and 286 deletions

View File

@@ -14,7 +14,7 @@
int LscEqPar(char *par, char *res) {
char *p, *r, pbuf[SER_BUF_LEN], rbuf[SER_BUF_LEN];
int i,n,i1,i2;
int i1,i2;
float f1, f2;
p=par;
@@ -42,7 +42,6 @@ int LscEqPar(char *par, char *res) {
#define nLIST 30
char *LscCmd(SerChannel *ser, const char *cmds) {
va_list ap;
char *blank, *colon, *qu, *res;
const char *p, *this, *next, *cmd_ptr, *retreq;
const char *list[nLIST];
@@ -50,7 +49,7 @@ char *LscCmd(SerChannel *ser, const char *cmds) {
char cmd[SER_BUF_LEN];
char varname[32];
DeclStrBuf(sbuf, SER_BUF_LEN);
int nres, i, j, response;
int nres, i, response;
nres=0;
response=0;