summaryrefslogtreecommitdiff
path: root/include/dirent.h
diff options
context:
space:
mode:
authorDaniel Eischen <deischen@FreeBSD.org>2000-12-11 04:00:36 +0000
committerDaniel Eischen <deischen@FreeBSD.org>2000-12-11 04:00:36 +0000
commit10d1cba0bf09c9bdbdc2ac7ff62b9516de75db4c (patch)
treea2c27d82905b580cc8144c6b67c1173c2399fc0a /include/dirent.h
parent3d48aa2a7cfbcc2d87e60e86e63d0bbce8d0ace6 (diff)
Notes
Diffstat (limited to 'include/dirent.h')
-rw-r--r--include/dirent.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/dirent.h b/include/dirent.h
index d24c1467bed6..2028d7b34649 100644
--- a/include/dirent.h
+++ b/include/dirent.h
@@ -42,7 +42,6 @@
* the getdirentries(2) system call.
*/
#include <sys/dirent.h>
-#include <sys/queue.h>
#ifdef _POSIX_SOURCE
typedef void * DIR;
@@ -53,7 +52,7 @@ typedef void * DIR;
/* definitions for library routines operating on directories. */
#define DIRBLKSIZ 1024
-struct _ddloc;
+struct _telldir; /* see telldir.h */
/* structure describing an open directory. */
typedef struct _dirdesc {
@@ -65,8 +64,7 @@ typedef struct _dirdesc {
long dd_seek; /* magic cookie returned by getdirentries */
long dd_rewind; /* magic cookie for rewinding */
int dd_flags; /* flags for readdir */
- long dd_loccnt; /* Index of entry for sequential readdir's */
- LIST_HEAD(, _ddloc) dd_locq; /* telldir position recording */
+ struct _telldir *dd_td; /* telldir position recording */
} DIR;
#define dirfd(dirp) ((dirp)->dd_fd)