diff options
Diffstat (limited to 'usr.bin/tip/aculib/hayes.c')
-rw-r--r-- | usr.bin/tip/aculib/hayes.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/usr.bin/tip/aculib/hayes.c b/usr.bin/tip/aculib/hayes.c index 19ee8f80abe..e42e797b9f9 100644 --- a/usr.bin/tip/aculib/hayes.c +++ b/usr.bin/tip/aculib/hayes.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hayes.c,v 1.8 2001/10/24 18:38:58 millert Exp $ */ +/* $OpenBSD: hayes.c,v 1.9 2002/05/07 06:56:50 hugh Exp $ */ /* $NetBSD: hayes.c,v 1.6 1997/02/11 09:24:17 mrg Exp $ */ /* @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)hayes.c 8.1 (Berkeley) 6/6/93"; #endif -static char rcsid[] = "$OpenBSD: hayes.c,v 1.8 2001/10/24 18:38:58 millert Exp $"; +static const char rcsid[] = "$OpenBSD: hayes.c,v 1.9 2002/05/07 06:56:50 hugh Exp $"; #endif /* not lint */ /* @@ -75,6 +75,11 @@ static void sigALRM(); static int timeout = 0; static jmp_buf timeoutbuf; static char gobble(); +static void error_rep(char c); +int hay_sync(void); +void hay_disconnect(void); +void goodbye(void); + #define DUMBUFLEN 40 static char dumbuf[DUMBUFLEN]; @@ -209,8 +214,7 @@ gobble(match) } static void -error_rep(c) - char c; +error_rep(char c) { printf("\n\r"); switch (c) { |