Don't define DIR, but __dirstream.

This commit is contained in:
Ulrich Drepper 1997-05-21 01:34:06 +00:00
parent 6c6c6ee3d3
commit f754f561de

View File

@ -28,7 +28,7 @@ Cambridge, MA 02139, USA. */
The miscellaneous Unix `readdir' implementations read directory data
into a buffer and fill in a `struct dirent' copy in the `DIR' object. */
typedef struct
struct __dirstream
{
int __fd; /* File descriptor. */
@ -38,6 +38,6 @@ typedef struct
size_t __size; /* Total valid data in the block. */
struct dirent __entry; /* Returned by `readdir'. */
} DIR;
};
#endif /* dirstream.h */