mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-14 06:12:01 +01:00
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:
parent
1a2efb7550
commit
3bea22184e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=24787
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user