Get the declaration of `struct dirent' from <sys/dirent.h>, not from

<sys/dir.h>.

Removed unused #include.

Fixed type and order of struct members in pseudo-declaration of `struct
vop_readdir_args'.
This commit is contained in:
Bruce Evans 1997-04-10 14:56:49 +00:00
parent 1a2efb7550
commit 3bea22184e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=24787
2 changed files with 8 additions and 10 deletions

View File

@ -1,4 +1,4 @@
/* $Id: msdosfs_vnops.c,v 1.39 1997/02/22 09:40:48 peter Exp $ */
/* $Id: msdosfs_vnops.c,v 1.40 1997/02/26 14:23:16 bde Exp $ */
/* $NetBSD: msdosfs_vnops.c,v 1.20 1994/08/21 18:44:13 ws Exp $ */
/*-
@ -61,11 +61,10 @@
#include <sys/vnode.h>
#include <miscfs/specfs/specdev.h> /* XXX */ /* defines v_rdev */
#include <sys/malloc.h>
#include <sys/dir.h> /* defines dirent structure */
#include <sys/dirent.h>
#include <sys/signalvar.h>
#include <vm/vm.h>
#include <vm/vm_param.h>
#include <vm/vm_extern.h>
#include <msdosfs/bpb.h>
@ -1529,8 +1528,8 @@ msdosfs_readdir(ap)
struct uio *a_uio;
struct ucred *a_cred;
int *a_eofflag;
u_long *a_cookies;
int a_ncookies;
int *a_ncookies;
u_long **a_cookies;
} */ *ap;
{
int error = 0;

View File

@ -1,4 +1,4 @@
/* $Id: msdosfs_vnops.c,v 1.39 1997/02/22 09:40:48 peter Exp $ */
/* $Id: msdosfs_vnops.c,v 1.40 1997/02/26 14:23:16 bde Exp $ */
/* $NetBSD: msdosfs_vnops.c,v 1.20 1994/08/21 18:44:13 ws Exp $ */
/*-
@ -61,11 +61,10 @@
#include <sys/vnode.h>
#include <miscfs/specfs/specdev.h> /* XXX */ /* defines v_rdev */
#include <sys/malloc.h>
#include <sys/dir.h> /* defines dirent structure */
#include <sys/dirent.h>
#include <sys/signalvar.h>
#include <vm/vm.h>
#include <vm/vm_param.h>
#include <vm/vm_extern.h>
#include <msdosfs/bpb.h>
@ -1529,8 +1528,8 @@ msdosfs_readdir(ap)
struct uio *a_uio;
struct ucred *a_cred;
int *a_eofflag;
u_long *a_cookies;
int a_ncookies;
int *a_ncookies;
u_long **a_cookies;
} */ *ap;
{
int error = 0;