From d264b330e19bc24a23b682d75c3e532b0fdf4726 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Sun, 20 Mar 2016 15:25:02 -0500 Subject: telnetd.c: Fix no prototype warning --- cpukit/telnetd/telnetd.c | 9 +++++---- 1 file 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 -- cgit v1.2.3