Fixed bad gets(3) declaration in stdio.h.
This commit is contained in:
parent
8bac113573
commit
e761332366
|
@ -173,8 +173,9 @@ extern FILE* _firstfile;
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if __SORTIX_STDLIB_REDIRECTS
|
#if (defined(_SOURCE_SOURCE) && __SORTIX_STDLIB_REDIRECTS) || \
|
||||||
inline char* gets(void) { return sortix_gets(); }
|
defined(_WANT_SORTIX_GETS)
|
||||||
|
extern char* gets(void) asm ("sortix_gets");
|
||||||
#else
|
#else
|
||||||
/* traditional gets(3) is no longer POSIX, hence removed. */
|
/* traditional gets(3) is no longer POSIX, hence removed. */
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue