diff options
author | deischen <deischen@FreeBSD.org> | 2000-12-11 04:00:36 +0000 |
---|---|---|
committer | deischen <deischen@FreeBSD.org> | 2000-12-11 04:00:36 +0000 |
commit | 45428979ecbb7d5c9a2ca5dc110aee85e48d7de2 (patch) | |
tree | 4ff93d9c2aa5d2573156e1b352a4574235595006 /lib/libc/gen/seekdir.c | |
parent | db0edd3c391b9475070b42d03b53f9a058882b13 (diff) | |
download | FreeBSD-src-45428979ecbb7d5c9a2ca5dc110aee85e48d7de2.zip FreeBSD-src-45428979ecbb7d5c9a2ca5dc110aee85e48d7de2.tar.gz |
Move telldir position recording type definitions and prototypes
to "telldir.h" in order to prevent namespace pollution in
<dirent.h> (which was including <sys/queue.h>).
Add $FreeBSD$ to rewinddir.c and seekdir.c.
Diffstat (limited to 'lib/libc/gen/seekdir.c')
-rw-r--r-- | lib/libc/gen/seekdir.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libc/gen/seekdir.c b/lib/libc/gen/seekdir.c index 1934bcc..8ce57d2 100644 --- a/lib/libc/gen/seekdir.c +++ b/lib/libc/gen/seekdir.c @@ -29,6 +29,8 @@ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. + * + * $FreeBSD$ */ #if defined(LIBC_SCCS) && !defined(lint) @@ -38,7 +40,7 @@ static char sccsid[] = "@(#)seekdir.c 8.1 (Berkeley) 6/4/93"; #include <sys/param.h> #include <dirent.h> -extern void _seekdir __P(( DIR *, long )); +#include "telldir.h" /* * Seek to an entry in a directory. @@ -49,6 +51,5 @@ seekdir(dirp, loc) DIR *dirp; long loc; { - _seekdir(dirp, loc); } |