aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/mach/hurd/dirstream.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/hurd/dirstream.h')
-rw-r--r--sysdeps/mach/hurd/dirstream.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/mach/hurd/dirstream.h b/sysdeps/mach/hurd/dirstream.h
index 42bbd07..a8c5fd1 100644
--- a/sysdeps/mach/hurd/dirstream.h
+++ b/sysdeps/mach/hurd/dirstream.h
@@ -25,7 +25,7 @@ Cambridge, MA 02139, USA. */
The Hurd directory format is the same as `struct dirent', so `readdir'
returns a pointer into the buffer we read directory data into. */
-typedef struct
+struct __dirstream
{
void *__fd; /* `struct hurd_fd' pointer for descriptor. */
char *__data; /* Directory block. */
@@ -34,6 +34,6 @@ typedef struct
int __entry_ptr; /* Entry number `__ptr' corresponds to. */
unsigned long int __allocation; /* Space allocated for the block. */
unsigned long int __size; /* Total valid data in the block. */
- } DIR;
+ };
#endif /* dirstream.h */