summaryrefslogtreecommitdiffstats
path: root/usr.bin/tip/libacu
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2006-08-31 19:19:44 +0000
committerru <ru@FreeBSD.org>2006-08-31 19:19:44 +0000
commitede4b2e9ac8d2ecd4f1202ac32e5f674882d7f07 (patch)
treee7c2814011f5b85ac3040f46787eb57f6a7fea41 /usr.bin/tip/libacu
parent5ffd88a18e7677876e4d2a9235c958d3b97f9abb (diff)
downloadFreeBSD-src-ede4b2e9ac8d2ecd4f1202ac32e5f674882d7f07.zip
FreeBSD-src-ede4b2e9ac8d2ecd4f1202ac32e5f674882d7f07.tar.gz
Fix compilation warnings (up to level 3).
Diffstat (limited to 'usr.bin/tip/libacu')
-rw-r--r--usr.bin/tip/libacu/hayes.c3
-rw-r--r--usr.bin/tip/libacu/v831.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/tip/libacu/hayes.c b/usr.bin/tip/libacu/hayes.c
index 9e38830..fe52274 100644
--- a/usr.bin/tip/libacu/hayes.c
+++ b/usr.bin/tip/libacu/hayes.c
@@ -177,7 +177,8 @@ gobble(char *match)
{
char c;
sig_t f;
- int i, status = 0;
+ size_t i;
+ int status = 0;
f = signal(SIGALRM, sigALRM);
dialtimeout = 0;
diff --git a/usr.bin/tip/libacu/v831.c b/usr.bin/tip/libacu/v831.c
index 95770eb..7adc3c6 100644
--- a/usr.bin/tip/libacu/v831.c
+++ b/usr.bin/tip/libacu/v831.c
@@ -176,7 +176,7 @@ struct vaconfig {
} vaconfig[] = {
{ "/dev/cua0",'4','0' },
{ "/dev/cua1",'4','1' },
- { 0 }
+ { NULL, '\0', '\0' }
};
#define pc(x) (c = x, write(AC,&c,1))
OpenPOWER on IntegriCloud