telnetd: Remove CEXP convenience routines

Close #3535.
This commit is contained in:
Sebastian Huber
2018-10-01 08:20:11 +02:00
parent a346ebba9c
commit 57a7ecdee5

View File

@@ -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 !!!!!!!!!!!!! */