mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-27 11:22:43 +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
|
||||
send_dontcmd(name)
|
||||
char *name;
|
||||
send_dontcmd(char *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;
|
||||
}
|
||||
|
||||
void
|
||||
ring_clearto(ring)
|
||||
Ring *ring;
|
||||
void
|
||||
ring_clearto(Ring *ring)
|
||||
{
|
||||
if (!ring_empty(ring))
|
||||
ring->clearto = ring->supply;
|
||||
|
Loading…
Reference in New Issue
Block a user