diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-11-11 22:47:13 +0000 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-11-11 23:56:56 +0000 |
commit | 85741f7eba716db09f586bc94aaa9a6b5dc2347f (patch) | |
tree | a54aedc2139d0ab78c7b7a4d55a5c4b08f06fb2c /include | |
parent | 1ccbb9258eed0f667edf459a28ba23a805549b36 (diff) | |
download | glibc-85741f7eba716db09f586bc94aaa9a6b5dc2347f.zip glibc-85741f7eba716db09f586bc94aaa9a6b5dc2347f.tar.gz glibc-85741f7eba716db09f586bc94aaa9a6b5dc2347f.tar.bz2 |
hurd: Move {,f,l}xstat{,at} and xmknod{at} to compat symbols
We do not actually need them, so we can move their implementations
into the standard {,f,l}stat{,at} variants and only keep compatibility
wrappers.
Diffstat (limited to 'include')
-rw-r--r-- | include/sys/stat.h | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/include/sys/stat.h b/include/sys/stat.h index 108cb0c..b4c9344 100644 --- a/include/sys/stat.h +++ b/include/sys/stat.h @@ -94,36 +94,5 @@ int __lxstat64 (int ver, const char *__filename, struct stat64 *__stat_buf); int __fxstatat64 (int ver, int __fildes, const char *__filename, struct stat64 *__stat_buf, int __flag); -# ifdef NO_RTLD_HIDDEN -/* These are still required for Hurd. */ -libc_hidden_proto (__fxstat); -libc_hidden_proto (__xstat); -libc_hidden_proto (__lxstat); -libc_hidden_proto (__fxstatat); -# if IS_IN (libc) -hidden_proto (__fxstat64); -hidden_proto (__xstat64); -hidden_proto (__lxstat64); -hidden_proto (__fxstatat64); -# endif -libc_hidden_proto (__xmknod) -libc_hidden_proto (__xmknodat) -# define stat(fname, buf) __xstat (_STAT_VER, fname, buf) -# define lstat(fname, buf) __lxstat (_STAT_VER, fname, buf) -# define __lstat(fname, buf) __lxstat (_STAT_VER, fname, buf) -# define lstat64(fname, buf) __lxstat64 (_STAT_VER, fname, buf) -# define __lstat64(fname, buf) __lxstat64 (_STAT_VER, fname, buf) -# define stat64(fname, buf) __xstat64 (_STAT_VER, fname, buf) -# define __stat64(fname, buf) __xstat64 (_STAT_VER, fname, buf) -# define fstat64(fd, buf) __fxstat64 (_STAT_VER, fd, buf) -# define __fstat64(fd, buf) __fxstat64 (_STAT_VER, fd, buf) -# define fstat(fd, buf) __fxstat (_STAT_VER, fd, buf) -# define __fstat(fd, buf) __fxstat (_STAT_VER, fd, buf) -# define __fstatat(dfd, fname, buf, flag) \ - __fxstatat (_STAT_VER, dfd, fname, buf, flag) -# define __fstatat64(dfd, fname, buf, flag) \ - __fxstatat64 (_STAT_VER, dfd, fname, buf, flag) -# endif /* NO_RTLD_HIDDEN */ - #endif #endif |