summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2012-02-28 13:16:18 +0100
committerAndreas Jaeger <aj@suse.de>2012-02-28 13:16:18 +0100
commit625d134f42d65ebc0349c03a0d9592400e86d084 (patch)
treeca38d5251cd497d9b88c6a8137dd5514cef0dfdd
parent94c3cff5832a7f3f0a53674a644a7d3b3633eb8f (diff)
downloadglibc-625d134f42d65ebc0349c03a0d9592400e86d084.tar.gz
glibc-625d134f42d65ebc0349c03a0d9592400e86d084.tar.xz
glibc-625d134f42d65ebc0349c03a0d9592400e86d084.zip
Add __dirfd prototype.
-rw-r--r--include/dirent.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/dirent.h b/include/dirent.h
index 2e88005e00..80199d63ba 100644
--- a/include/dirent.h
+++ b/include/dirent.h
@@ -41,6 +41,7 @@ extern DIR *__alloc_dir (int fd, bool close_fd, int flags,
 			 const struct stat64 *statp)
      internal_function;
 extern void __scandir_cancel_handler (void *arg);
+extern int __dirfd (DIR *__dirp);
 
 libc_hidden_proto (rewinddir)
 libc_hidden_proto (scandirat)