mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
libio: Assume _LIBC, weak_alias, errno, (__set_)errno &c are defined
Do not define _POSIX_SOURCE.
This commit is contained in:
@ -66,7 +66,6 @@ _IO_fgets (char *buf, int n, _IO_FILE *fp)
|
||||
return result;
|
||||
}
|
||||
|
||||
#ifdef weak_alias
|
||||
weak_alias (_IO_fgets, fgets)
|
||||
|
||||
# ifndef _IO_MTSAFE_IO
|
||||
@ -75,4 +74,3 @@ libc_hidden_def (__fgets_unlocked)
|
||||
weak_alias (_IO_fgets, fgets_unlocked)
|
||||
libc_hidden_weak (fgets_unlocked)
|
||||
# endif
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user