summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2016-03-20 15:25:02 -0500
committerJoel Sherrill <joel@rtems.org>2016-03-24 11:41:21 -0500
commitd264b330e19bc24a23b682d75c3e532b0fdf4726 (patch)
treedf03436897a370e74e914eb636c68abde78ea178
parentlibnetworking/sys/libkern.h: Disable non-POSIX prototype that is actually unused (diff)
downloadrtems-d264b330e19bc24a23b682d75c3e532b0fdf4726.tar.bz2
telnetd.c: Fix no prototype warning
-rw-r--r--cpukit/telnetd/telnetd.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/cpukit/telnetd/telnetd.c b/cpukit/telnetd/telnetd.c
index 70ccbe12ca..195ec979c3 100644
--- a/cpukit/telnetd/telnetd.c
+++ b/cpukit/telnetd/telnetd.c
@@ -482,18 +482,19 @@ telnetd_dflt_spawn(const char *name, unsigned int priority, unsigned int stackSi
static __inline__ FILE *
_stdin(void) { return stdin; }
#undef stdin
+FILE *stdin(void);
FILE *stdin(void) { return _stdin(); }
#endif
#ifdef stdout
-static __inline__ FILE *
-_stdout(void) { return stdout; }
+static __inline__ FILE * _stdout(void) { return stdout; }
#undef stdout
+FILE *stdout(void);
FILE *stdout(void) { return _stdout(); }
#endif
#ifdef stderr
-static __inline__ FILE *
-_stderr(void) { return stderr; }
+static __inline__ FILE * _stderr(void) { return stderr; }
#undef stderr
+FILE *stderr(void);
FILE *stderr(void) { return _stderr(); }
#endif