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

View File

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