diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-10-01 08:20:11 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-10-01 12:32:54 +0200 |
commit | 57a7ecdee54a5c3e4a3bbd45f611bf6973b44e7e (patch) | |
tree | d2ce44535d135f78dc183e22eb14023342d4bbc2 /cpukit/telnetd/telnetd.c | |
parent | telnetd: Remove CONFIGURE_MAXIMUM_PTYS (diff) | |
download | rtems-57a7ecdee54a5c3e4a3bbd45f611bf6973b44e7e.tar.bz2 |
telnetd: Remove CEXP convenience routines
Close #3535.
Diffstat (limited to 'cpukit/telnetd/telnetd.c')
-rw-r--r-- | cpukit/telnetd/telnetd.c | 25 |
1 files changed, 0 insertions, 25 deletions
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 !!!!!!!!!!!!! */ |