summaryrefslogtreecommitdiff
path: root/sys/kern/vfs_sync.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-03-14 01:27:20 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-03-14 01:27:20 +0000
commit8327d0774703553db5e1a41a04bfdf4b1797c2ce (patch)
treeac9a52bace179e17769651fb9f805070d78abe5f /sys/kern/vfs_sync.c
parent7b2c79b5895287d37f0c4e3adfc396eb7a6c03fb (diff)
First round of __P removal in sys
Diffstat (limited to 'sys/kern/vfs_sync.c')
-rw-r--r--sys/kern/vfs_sync.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/kern/vfs_sync.c b/sys/kern/vfs_sync.c
index 33a8f9b6633..730ec949533 100644
--- a/sys/kern/vfs_sync.c
+++ b/sys/kern/vfs_sync.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vfs_sync.c,v 1.22 2001/12/19 08:58:06 art Exp $ */
+/* $OpenBSD: vfs_sync.c,v 1.23 2002/03/14 01:27:06 millert Exp $ */
/*
* Portions of this code are:
@@ -56,7 +56,7 @@
#include <sys/kernel.h>
#ifdef FFS_SOFTUPDATES
-int softdep_process_worklist __P((struct mount *));
+int softdep_process_worklist(struct mount *);
#endif
/*
@@ -257,15 +257,15 @@ speedup_syncer()
* Routine to create and manage a filesystem syncer vnode.
*/
#define sync_close nullop
-int sync_fsync __P((void *));
-int sync_inactive __P((void *));
+int sync_fsync(void *);
+int sync_inactive(void *);
#define sync_reclaim nullop
#define sync_lock vop_generic_lock
#define sync_unlock vop_generic_unlock
-int sync_print __P((void *));
+int sync_print(void *);
#define sync_islocked vop_generic_islocked
-int (**sync_vnodeop_p) __P((void *));
+int (**sync_vnodeop_p)(void *);
struct vnodeopv_entry_desc sync_vnodeop_entries[] = {
{ &vop_default_desc, vn_default_error },
{ &vop_close_desc, sync_close }, /* close */
@@ -276,7 +276,7 @@ struct vnodeopv_entry_desc sync_vnodeop_entries[] = {
{ &vop_unlock_desc, sync_unlock }, /* unlock */
{ &vop_print_desc, sync_print }, /* print */
{ &vop_islocked_desc, sync_islocked }, /* islocked */
- { (struct vnodeop_desc*)NULL, (int(*) __P((void *)))NULL }
+ { (struct vnodeop_desc*)NULL, (int(*)(void *))NULL }
};
struct vnodeopv_desc sync_vnodeop_opv_desc = {
&sync_vnodeop_p, sync_vnodeop_entries