summaryrefslogtreecommitdiffstats
path: root/cpukit/telnetd/telnetd.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2008-08-02 06:34:08 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2008-08-02 06:34:08 +0000
commitc0cc9859bc240cbef34bd0f5b292e6ac7a081f1c (patch)
treef02a0f559d646cbf46f54755c9680672cacd6ea9 /cpukit/telnetd/telnetd.c
parent2008-08-02 Chris Johns <chrisj@rtems.org> (diff)
downloadrtems-c0cc9859bc240cbef34bd0f5b292e6ac7a081f1c.tar.bz2
Add missing prototypes.
Remove unused local declations.
Diffstat (limited to 'cpukit/telnetd/telnetd.c')
-rw-r--r--cpukit/telnetd/telnetd.c5
1 files changed, 2 insertions, 3 deletions
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(