summaryrefslogtreecommitdiff
path: root/libc/misc/dirent
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-03-15 22:17:10 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-06-15 14:00:25 +0200
commitc10d0bda2394a84be907bdafa054dbbedb70f0bc (patch)
tree627b4bc396506a2a650d57a587cd69189e7645a2 /libc/misc/dirent
parent5f06521bf4aeccd73b96018aa63a0e888c8d548f (diff)
dirstream.h: remove unused constants
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/misc/dirent')
-rw-r--r--libc/misc/dirent/dirstream.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/libc/misc/dirent/dirstream.h b/libc/misc/dirent/dirstream.h
index 370886aa7..f0857f63c 100644
--- a/libc/misc/dirent/dirstream.h
+++ b/libc/misc/dirent/dirstream.h
@@ -29,18 +29,6 @@ Cambridge, MA 02139, USA. */
#include <bits/uClibc_mutex.h>
-/* For now, syscall readdir () only supports one entry at a time. It
- * will be changed in the future.
-#define NUMENT 3
-*/
-#ifndef NUMENT
-#define NUMENT 1
-#endif
-
-#define SINGLE_READDIR 11
-#define MULTI_READDIR 12
-#define NEW_READDIR 13
-
/* Directory stream type. */
struct __dirstream {
/* file descriptor */
@@ -65,7 +53,6 @@ struct __dirstream {
__UCLIBC_MUTEX(dd_lock);
}; /* stream data from opendir() */
-
extern ssize_t __getdents(int fd, char *buf, size_t count) attribute_hidden;
#ifdef __UCLIBC_HAS_LFS__
extern ssize_t __getdents64 (int fd, char *buf, size_t count) attribute_hidden;