diff options
author | Alexander Hall <halex@cvs.openbsd.org> | 2012-07-13 14:45:25 +0000 |
---|---|---|
committer | Alexander Hall <halex@cvs.openbsd.org> | 2012-07-13 14:45:25 +0000 |
commit | eef72cf3f5a733aae80590b782ea0973a465eec7 (patch) | |
tree | 55be139e79db259110d80ab0a58ba6b2230a6f7d /usr.bin/cu | |
parent | 50a0239d8564526d723df9c4da4b14e0573dc2bb (diff) |
kill unused variable
ok dlg@ nicm@
while at it, kill one more and add #include <ctype.h> per nicm's request
Diffstat (limited to 'usr.bin/cu')
-rw-r--r-- | usr.bin/cu/cu.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/cu/cu.c b/usr.bin/cu/cu.c index 0ed18005404..d6b0e6cffe4 100644 --- a/usr.bin/cu/cu.c +++ b/usr.bin/cu/cu.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cu.c,v 1.10 2012/07/13 05:29:01 dlg Exp $ */ +/* $OpenBSD: cu.c,v 1.11 2012/07/13 14:45:24 halex Exp $ */ /* * Copyright (c) 2012 Nicholas Marriott <nicm@openbsd.org> @@ -19,6 +19,7 @@ #include <sys/param.h> #include <sys/ioctl.h> +#include <ctype.h> #include <err.h> #include <event.h> #include <fcntl.h> @@ -70,8 +71,7 @@ main(int argc, char **argv) { const char *line, *errstr; char *tmp; - int opt, speed, i, ch; - static char sbuf[12]; + int opt, speed, i; line = "/dev/cua00"; speed = 9600; |