diff options
Diffstat (limited to 'libio/oldiofgetpos64.c')
-rw-r--r-- | libio/oldiofgetpos64.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libio/oldiofgetpos64.c b/libio/oldiofgetpos64.c index 2221f9140b..3ba8941e90 100644 --- a/libio/oldiofgetpos64.c +++ b/libio/oldiofgetpos64.c @@ -45,20 +45,16 @@ _IO_old_fgetpos64 (_IO_FILE *fp, _IO_fpos64_t *posp) { /* ANSI explicitly requires setting errno to a positive value on failure. */ -#ifdef EIO if (errno == 0) __set_errno (EIO); -#endif return EOF; } posp->__pos = pos; return 0; } -#ifdef weak_alias compat_symbol (libc, _IO_old_fgetpos64, _IO_fgetpos64, GLIBC_2_1); strong_alias (_IO_old_fgetpos64, __old_fgetpos64) compat_symbol (libc, __old_fgetpos64, fgetpos64, GLIBC_2_1); -#endif #endif |