summaryrefslogtreecommitdiff
path: root/libc/include
diff options
context:
space:
mode:
authorjoseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2011-05-10 15:49:03 +0000
committerjoseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2011-05-10 15:49:03 +0000
commit4b968931720cdf273465db07be69802e60304981 (patch)
tree9d0127d8b5164ead32571f32ab4e80661987dc43 /libc/include
parent9dffe5df04949a0dd0f37832415009bf84d882b6 (diff)
downloadeglibc2-4b968931720cdf273465db07be69802e60304981.tar.gz
Merge changes between r13697 and r13758 from /fsf/trunk.
git-svn-id: svn://svn.eglibc.org/trunk@13759 7b3dc134-2b1b-0410-93df-9e9f96275f8d
Diffstat (limited to 'libc/include')
-rw-r--r--libc/include/dirent.h5
-rw-r--r--libc/include/sys/stat.h6
2 files changed, 10 insertions, 1 deletions
diff --git a/libc/include/dirent.h b/libc/include/dirent.h
index 3f6c4b9ae..0f8f1cbe8 100644
--- a/libc/include/dirent.h
+++ b/libc/include/dirent.h
@@ -28,7 +28,10 @@ extern int __alphasort64 (const struct dirent64 **a, const struct dirent64 **b)
extern int __versionsort64 (const struct dirent64 **a,
const struct dirent64 **b)
__attribute_pure__;
-extern DIR *__alloc_dir (int fd, bool close_fd, const struct stat64 *statp)
+extern DIR *__alloc_dir (int fd, bool close_fd, int flags,
+ const struct stat64 *statp)
internal_function;
+libc_hidden_proto (rewinddir)
+
#endif
diff --git a/libc/include/sys/stat.h b/libc/include/sys/stat.h
index 66898b176..cca0500ec 100644
--- a/libc/include/sys/stat.h
+++ b/libc/include/sys/stat.h
@@ -44,8 +44,14 @@ libc_hidden_proto (__fxstatat64)
#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 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