From c10d0bda2394a84be907bdafa054dbbedb70f0bc Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Tue, 15 Mar 2011 22:17:10 +0100 Subject: dirstream.h: remove unused constants Signed-off-by: Peter S. Mazinger Signed-off-by: Bernhard Reutner-Fischer --- libc/misc/dirent/dirstream.h | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'libc/misc') 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 -/* 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; -- cgit v1.2.3