summaryrefslogtreecommitdiffstats
path: root/kiss
diff options
context:
space:
mode:
authorThomas Osterried <thomas@osterried.de>2005-12-10 18:13:40 +0000
committerThomas Osterried <thomas@osterried.de>2005-12-10 18:13:40 +0000
commitbeb33799eb5e573d98371b22a34b6125d7003974 (patch)
tree44a6ff6a9d18efa6bc865f2da5c14966410c3ba6 /kiss
parentcbc787a43d78bec5b22038d5c3d124820fc53aaa (diff)
- include ctype.h -> made compiler happy
- minor fix
Diffstat (limited to 'kiss')
-rw-r--r--kiss/kissparms.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/kiss/kissparms.c b/kiss/kissparms.c
index 9a059f4..fd178ae 100644
--- a/kiss/kissparms.c
+++ b/kiss/kissparms.c
@@ -2,6 +2,7 @@
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
+#include <ctype.h>
#include <config.h>
@@ -54,7 +55,8 @@ int main(int argc, char *argv[])
int feclevel = -1;
int crcmode = -1;
int kissoff = 0;
- int buflen, s;
+ int buflen = 0;
+ int s;
int X = 0;
char *port = NULL;
@@ -142,7 +144,6 @@ int main(int argc, char *argv[])
break;
case 'X':
- buflen = 0;
do {
buffer[buflen++] = atoi(optarg);
while (*optarg && isalnum(*optarg & 0xff))