diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2022-08-04 17:30:48 +0200 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2022-08-04 17:30:48 +0200 |
commit | 9f6057d203d1a8da57f332c63db778680d9b4315 (patch) | |
tree | ced8de29d4f04a889b081389577b23bca17e25dd | |
parent | cc88ef77e772a792acbff95dd2a19af0d87f4d76 (diff) | |
download | newlib-9f6057d203d1a8da57f332c63db778680d9b4315.zip newlib-9f6057d203d1a8da57f332c63db778680d9b4315.tar.gz newlib-9f6057d203d1a8da57f332c63db778680d9b4315.tar.bz2 |
Cygwin: Drop export aliases and masking macros for stdio64 functions
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
-rw-r--r-- | winsup/cygwin/syscalls.cc | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/winsup/cygwin/syscalls.cc b/winsup/cygwin/syscalls.cc index e6d68cc..2c2bc41 100644 --- a/winsup/cygwin/syscalls.cc +++ b/winsup/cygwin/syscalls.cc @@ -14,9 +14,6 @@ details. */ #define _open __FOO_open__ #define _read __FOO_read__ #define _write __FOO_write__ -#define _open64 __FOO_open64__ -#define _lseek64 __FOO_lseek64__ -#define _fstat64 __FOO_fstat64__ #define pread __FOO_pread #define pwrite __FOO_pwrite @@ -70,9 +67,6 @@ details. */ #undef _open #undef _read #undef _write -#undef _open64 -#undef _lseek64 -#undef _fstat64 static int mknod_worker (path_conv &, mode_t, _major_t, _minor_t); @@ -1596,7 +1590,6 @@ open (const char *unix_path, int flags, ...) } EXPORT_ALIAS (open, _open ) -EXPORT_ALIAS (open, _open64 ) extern "C" off_t lseek (int fd, off_t pos, int dir) @@ -1624,7 +1617,6 @@ lseek (int fd, off_t pos, int dir) return res; } -EXPORT_ALIAS (lseek, _lseek64) EXPORT_ALIAS (lseek, _lseek) extern "C" int @@ -1904,8 +1896,6 @@ _fstat_r (struct _reent *ptr, int fd, struct stat *buf) return ret; } -EXPORT_ALIAS (_fstat_r, _fstat64_r) - /* fsync: P96 6.6.1.1 */ extern "C" int fsync (int fd) @@ -2055,8 +2045,6 @@ _stat_r (struct _reent *__restrict ptr, const char *__restrict name, return ret; } -EXPORT_ALIAS (_stat_r, _stat64_r) - /* lstat: Provided by SVR4 and 4.3+BSD, POSIX? */ extern "C" int lstat (const char *__restrict name, struct stat *__restrict buf) |