From 57a7ecdee54a5c3e4a3bbd45f611bf6973b44e7e Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 1 Oct 2018 08:20:11 +0200 Subject: telnetd: Remove CEXP convenience routines Close #3535. --- cpukit/telnetd/telnetd.c | 25 ------------------------- 1 file changed, 25 deletions(-) (limited to 'cpukit/telnetd/telnetd.c') diff --git a/cpukit/telnetd/telnetd.c b/cpukit/telnetd/telnetd.c index 5c9607d5e0..f68b08ab3c 100644 --- a/cpukit/telnetd/telnetd.c +++ b/cpukit/telnetd/telnetd.c @@ -495,28 +495,3 @@ telnetd_dflt_spawn(const char *name, unsigned int priority, unsigned int stackSi } return task_id; } - -/* convenience routines for CEXP (retrieve stdio descriptors - * from reent structure) - */ -#ifdef stdin -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; } -#undef stdout -FILE *stdout(void); -FILE *stdout(void) { return _stdout(); } -#endif -#ifdef stderr -static __inline__ FILE * _stderr(void) { return stderr; } -#undef stderr -FILE *stderr(void); -FILE *stderr(void) { return _stderr(); } -#endif - -/* MUST NOT USE stdin & friends below here !!!!!!!!!!!!! */ -- cgit v1.2.3