diff options
author | Kay Sievers <kay.sievers@suse.de> | 2005-11-09 15:42:07 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@suse.de> | 2005-11-09 15:42:07 +0100 |
commit | a8349b33e564f7faa83341cb1fa58466b0589ae9 (patch) | |
tree | 45985cfc248e5219a25230959b00b7baa2b8b276 /klibc/include/dirent.h | |
parent | accff726856a0b3258a413d823a534f4f437e6b2 (diff) |
remove our own copy of klibc
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Diffstat (limited to 'klibc/include/dirent.h')
-rw-r--r-- | klibc/include/dirent.h | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/klibc/include/dirent.h b/klibc/include/dirent.h deleted file mode 100644 index 4db479592b..0000000000 --- a/klibc/include/dirent.h +++ /dev/null @@ -1,32 +0,0 @@ -/* - * dirent.h - */ - -#ifndef _DIRENT_H -#define _DIRENT_H - -#include <klibc/extern.h> -#include <sys/dirent.h> - -struct _IO_dir { - int __fd; - -#ifdef __KLIBC_DIRENT_INTERNALS - /* These fields for internal use only */ - - size_t bytes_left; - struct dirent *next; - /* Declaring this as an array of struct enforces correct alignment */ - struct dirent buffer[15]; /* 15 times max dirent size =~ 4K */ -#endif -}; -typedef struct _IO_dir DIR; - -__extern DIR *opendir(const char *); -__extern struct dirent *readdir(DIR *); -__extern int closedir(DIR *); -static __inline__ int dirfd (DIR *__d) { - return __d->__fd; -} - -#endif /* _DIRENT_H */ |