diff options
author | markm <markm@FreeBSD.org> | 2001-08-20 12:21:31 +0000 |
---|---|---|
committer | markm <markm@FreeBSD.org> | 2001-08-20 12:21:31 +0000 |
commit | 83e59be2f658dd3a79d19c79cb5e76b14fd75880 (patch) | |
tree | 2f63b7bcc01aa932c0e8fa96a3233683c096ad91 /usr.bin/telnet/ring.c | |
parent | 162b7bf01cdec6fdf0f84d400df0f67c2a0d35c0 (diff) | |
download | FreeBSD-src-83e59be2f658dd3a79d19c79cb5e76b14fd75880.zip FreeBSD-src-83e59be2f658dd3a79d19c79cb5e76b14fd75880.tar.gz |
Code merge and diff reduction between this and crypto telnet.
Also remove useless AUTHENTICATION code. We have never compiled this
here, and it is doubtful that it even works without crypto.
Diffstat (limited to 'usr.bin/telnet/ring.c')
-rw-r--r-- | usr.bin/telnet/ring.c | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/usr.bin/telnet/ring.c b/usr.bin/telnet/ring.c index dc18750..b414d16 100644 --- a/usr.bin/telnet/ring.c +++ b/usr.bin/telnet/ring.c @@ -32,7 +32,12 @@ */ #ifndef lint -static char sccsid[] = "@(#)ring.c 8.1 (Berkeley) 6/6/93"; +#if 0 +static const char sccsid[] = "@(#)ring.c 8.2 (Berkeley) 5/30/95"; +#else +static const char rcsid[] = + "$FreeBSD$"; +#endif #endif /* not lint */ /* @@ -46,9 +51,9 @@ static char sccsid[] = "@(#)ring.c 8.1 (Berkeley) 6/6/93"; * */ +#include <errno.h> #include <stdio.h> #include <string.h> -#include <errno.h> #ifdef size_t #undef size_t @@ -100,8 +105,9 @@ static u_long ring_clock = 0; /* Buffer state transition routines */ - ring_init(ring, buffer, count) -Ring *ring; + int +ring_init(ring, buffer, count) + Ring *ring; unsigned char *buffer; int count; { |