telnet: Use C89 function definitions for two stragglers.

Reviewed by:	emaste
Differential Revision:	https://reviews.freebsd.org/D39528
This commit is contained in:
John Baldwin 2023-04-18 11:27:47 -07:00
parent d28a95513e
commit 11af9d2477
2 changed files with 3 additions and 5 deletions

View File

@ -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));
}

View File

@ -307,8 +307,7 @@ ring_encrypt(Ring *ring, void (*encryptor)(unsigned char *, int))
}
void
ring_clearto(ring)
Ring *ring;
ring_clearto(Ring *ring)
{
if (!ring_empty(ring))
ring->clearto = ring->supply;