summary refs log tree commit diff
path: root/sysdeps/unix/opendir.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-08-28 09:00:05 +0000
committerRoland McGrath <roland@gnu.org>1995-08-28 09:00:05 +0000
commit9e865adecff6cb94e8c638a47929dcee62267f20 (patch)
treed448dcae82f2e6b5ac25bb0d3efb5b65505833bf /sysdeps/unix/opendir.c
parent7752137a6a9d9a042d2c2f00e245b920e41737bc (diff)
downloadglibc-9e865adecff6cb94e8c638a47929dcee62267f20.tar.gz
glibc-9e865adecff6cb94e8c638a47929dcee62267f20.tar.xz
glibc-9e865adecff6cb94e8c638a47929dcee62267f20.zip
* sysdeps/mach/hurd/dirstream.h: Define `struct __dirstream'
	instead of `DIR'.
	* sysdeps/unix/bsd/dirstream.h: Likewise.
	* sysdeps/stub/dirstream.h: Likewise.
	* sysdeps/unix/dirstream.h: Likewise.
	* sysdeps/mach/hurd/telldir.c: Include "dirstream.h".
	* sysdeps/mach/hurd/seekdir.c: Likewise.
	* sysdeps/mach/hurd/opendir.c: Likewise.
	* sysdeps/mach/hurd/closedir.c: Likewise.
	* sysdeps/mach/hurd/readdir.c: Likewise.
	* sysdeps/unix/telldir.c: Likewise.
	* sysdeps/unix/seekdir.c: Likewise.
	* sysdeps/unix/rewinddir.c: Likewise.
	* sysdeps/unix/readdir.c: Likewise.
	* sysdeps/unix/opendir.c: Likewise.
	* sysdeps/unix/closedir.c: Likewise.
	* sysdeps/unix/bsd/telldir.c: Likewise.
	* sysdeps/unix/bsd/readdir.c: Likewise.
	* dirent/Makefile (headers): Remove dirstream.h.
	(distribute): Put it here instead.
Diffstat (limited to 'sysdeps/unix/opendir.c')
-rw-r--r--sysdeps/unix/opendir.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/unix/opendir.c b/sysdeps/unix/opendir.c
index d03f45e6af..5cd620676a 100644
--- a/sysdeps/unix/opendir.c
+++ b/sysdeps/unix/opendir.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1992, 1993, 1994 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1992, 1993, 1994, 1995 Free Software Foundation, Inc.
 This file is part of the GNU C Library.
 
 The GNU C Library is free software; you can redistribute it and/or
@@ -29,6 +29,7 @@ Cambridge, MA 02139, USA.  */
 #include <stdio.h>
 
 #include "direct.h"		/* This file defines `struct direct'.  */
+#include "dirstream.h"
 
 /* Open a directory stream on NAME.  */
 DIR *