From 5f0704b66cea73cf2ab148ec4cff645cc301fd8c Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Thu, 31 Aug 2017 14:07:23 +0200 Subject: libio: Assume _LIBC, weak_alias, errno, (__set_)errno &c are defined Do not define _POSIX_SOURCE. --- libio/iofgets.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'libio/iofgets.c') diff --git a/libio/iofgets.c b/libio/iofgets.c index 8643e7c..232d28e 100644 --- a/libio/iofgets.c +++ b/libio/iofgets.c @@ -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 -- cgit v1.1