From c0cc9859bc240cbef34bd0f5b292e6ac7a081f1c Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Sat, 2 Aug 2008 06:34:08 +0000 Subject: Add missing prototypes. Remove unused local declations. --- cpukit/telnetd/telnetd.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'cpukit/telnetd/telnetd.c') diff --git a/cpukit/telnetd/telnetd.c b/cpukit/telnetd/telnetd.c index 38e8a78b48..1c76e63dc6 100644 --- a/cpukit/telnetd/telnetd.c +++ b/cpukit/telnetd/telnetd.c @@ -57,8 +57,7 @@ #define PARANOIA extern char *telnet_get_pty(int socket); -extern int telnet_pty_initialize(); -extern int telnet_pty_finalize(); +extern int telnet_pty_initialize(void); struct shell_args { char *devname; @@ -74,7 +73,7 @@ typedef union uni_sa { static int sockpeername(int sock, char *buf, int bufsz); -static int initialize_telnetd(); +static int initialize_telnetd(void); static int telnetd_askForPassword; void * telnetd_dflt_spawn( -- cgit v1.2.3