mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-27 13:32:45 +00:00
telnet: Use C89 function definitions for two stragglers.
Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D39528
This commit is contained in:
parent
d28a95513e
commit
11af9d2477
@ -423,8 +423,7 @@ send_docmd(char *name)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
send_dontcmd(name)
|
send_dontcmd(char *name)
|
||||||
char *name;
|
|
||||||
{
|
{
|
||||||
return(send_tncmd(send_dont, "dont", name));
|
return(send_tncmd(send_dont, "dont", name));
|
||||||
}
|
}
|
||||||
|
@ -306,9 +306,8 @@ ring_encrypt(Ring *ring, void (*encryptor)(unsigned char *, int))
|
|||||||
ring->clearto = ring->supply;
|
ring->clearto = ring->supply;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
ring_clearto(ring)
|
ring_clearto(Ring *ring)
|
||||||
Ring *ring;
|
|
||||||
{
|
{
|
||||||
if (!ring_empty(ring))
|
if (!ring_empty(ring))
|
||||||
ring->clearto = ring->supply;
|
ring->clearto = ring->supply;
|
||||||
|
Loading…
Reference in New Issue
Block a user