X-Git-Url: https://gitweb.dragonflybsd.org/dragonfly.git/blobdiff_plain/3ff6852f0d644ff2e11b8f3d7572aa3516479727..402ed7e1da2052b942a477981621b1edbc4a3a22:/sys/kern/vfs_subr.c diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c index d7b31a1b06..c6683ce04c 100644 --- a/sys/kern/vfs_subr.c +++ b/sys/kern/vfs_subr.c @@ -37,7 +37,7 @@ * * @(#)vfs_subr.c 8.31 (Berkeley) 5/26/95 * $FreeBSD: src/sys/kern/vfs_subr.c,v 1.249.2.30 2003/04/04 20:35:57 tegge Exp $ - * $DragonFly: src/sys/kern/vfs_subr.c,v 1.17 2003/08/19 18:36:38 hsu Exp $ + * $DragonFly: src/sys/kern/vfs_subr.c,v 1.18 2003/08/26 21:09:02 rob Exp $ */ /* @@ -85,8 +85,8 @@ static MALLOC_DEFINE(M_NETADDR, "Export Host", "Export host address structure"); -static void insmntque __P((struct vnode *vp, struct mount *mp)); -static void vclean __P((struct vnode *vp, int flags, struct thread *td)); +static void insmntque (struct vnode *vp, struct mount *mp); +static void vclean (struct vnode *vp, int flags, struct thread *td); static unsigned long numvnodes; static void vlruvp(struct vnode *vp); SYSCTL_INT(_debug, OID_AUTO, numvnodes, CTLFLAG_RD, &numvnodes, 0, ""); @@ -166,10 +166,10 @@ static int vnlru_nowhere = 0; SYSCTL_INT(_debug, OID_AUTO, vnlru_nowhere, CTLFLAG_RW, &vnlru_nowhere, 0, "Number of times the vnlru process ran without success"); -static void vfs_free_addrlist __P((struct netexport *nep)); -static int vfs_free_netcred __P((struct radix_node *rn, void *w)); -static int vfs_hang_addrlist __P((struct mount *mp, struct netexport *nep, - struct export_args *argp)); +static void vfs_free_addrlist (struct netexport *nep); +static int vfs_free_netcred (struct radix_node *rn, void *w); +static int vfs_hang_addrlist (struct mount *mp, struct netexport *nep, + struct export_args *argp); /* * Initialize the vnode management data structures. @@ -294,7 +294,7 @@ int lite2_vfs_mountroot() { struct vfsconf *vfsp; - extern int (*lite2_mountroot) __P((void)); + extern int (*lite2_mountroot) (void); int error; if (lite2_mountroot != NULL) @@ -1149,7 +1149,7 @@ vn_syncer_add_to_worklist(struct vnode *vp, int delay) } struct thread *updatethread; -static void sched_sync __P((void)); +static void sched_sync (void); static struct kproc_desc up_kp = { "syncer", sched_sync, @@ -2259,7 +2259,7 @@ DB_SHOW_COMMAND(lockedvnodes, lockedvnodes) /* * Top level filesystem related information gathering. */ -static int sysctl_ovfs_conf __P((SYSCTL_HANDLER_ARGS)); +static int sysctl_ovfs_conf (SYSCTL_HANDLER_ARGS); static int vfs_sysctl(SYSCTL_HANDLER_ARGS) @@ -2898,14 +2898,14 @@ vn_pollgone(vp) /* * Routine to create and manage a filesystem syncer vnode. */ -#define sync_close ((int (*) __P((struct vop_close_args *)))nullop) -static int sync_fsync __P((struct vop_fsync_args *)); -static int sync_inactive __P((struct vop_inactive_args *)); -static int sync_reclaim __P((struct vop_reclaim_args *)); -#define sync_lock ((int (*) __P((struct vop_lock_args *)))vop_nolock) -#define sync_unlock ((int (*) __P((struct vop_unlock_args *)))vop_nounlock) -static int sync_print __P((struct vop_print_args *)); -#define sync_islocked ((int(*) __P((struct vop_islocked_args *)))vop_noislocked) +#define sync_close ((int (*) (struct vop_close_args *))nullop) +static int sync_fsync (struct vop_fsync_args *); +static int sync_inactive (struct vop_inactive_args *); +static int sync_reclaim (struct vop_reclaim_args *); +#define sync_lock ((int (*) (struct vop_lock_args *))vop_nolock) +#define sync_unlock ((int (*) (struct vop_unlock_args *))vop_nounlock) +static int sync_print (struct vop_print_args *); +#define sync_islocked ((int(*) (struct vop_islocked_args *))vop_noislocked) static vop_t **sync_vnodeop_p; static struct vnodeopv_entry_desc sync_vnodeop_entries[] = {