diff options
| author | dsl <dsl@NetBSD.org> | 2009-03-14 14:45:51 +0000 |
|---|---|---|
| committer | dsl <dsl@NetBSD.org> | 2009-03-14 14:45:51 +0000 |
| commit | 02cdf4d2c869ecfa1ae5484cf77eefe2fbcc6d94 (patch) | |
| tree | 9a02e625d403e5fcedfdc6be4803e2404356bf31 /sys/fs/filecorefs | |
| parent | dfbb3f921a23a1aba4463f31ef9233ac94ce606c (diff) | |
Remove all the __P() from sys (excluding sys/dist)
Diff checked with grep and MK1 eyeball.
i386 and amd64 GENERIC and sys still build.
Diffstat (limited to 'sys/fs/filecorefs')
| -rw-r--r-- | sys/fs/filecorefs/filecore_extern.h | 12 | ||||
| -rw-r--r-- | sys/fs/filecorefs/filecore_node.h | 50 | ||||
| -rw-r--r-- | sys/fs/filecorefs/filecore_vfsops.c | 8 | ||||
| -rw-r--r-- | sys/fs/filecorefs/filecore_vnops.c | 6 |
4 files changed, 38 insertions, 38 deletions
diff --git a/sys/fs/filecorefs/filecore_extern.h b/sys/fs/filecorefs/filecore_extern.h index 743cfca29a6..f63cdd23fcb 100644 --- a/sys/fs/filecorefs/filecore_extern.h +++ b/sys/fs/filecorefs/filecore_extern.h @@ -1,4 +1,4 @@ -/* $NetBSD: filecore_extern.h,v 1.18 2008/06/28 01:34:05 rumble Exp $ */ +/* $NetBSD: filecore_extern.h,v 1.19 2009/03/14 14:46:09 dsl Exp $ */ /*- * Copyright (c) 1994 The Regents of the University of California. @@ -110,9 +110,9 @@ extern struct pool filecore_node_pool; VFS_PROTOS(filecore); -extern int (**filecore_vnodeop_p) __P((void *)); +extern int (**filecore_vnodeop_p)(void *); -int filecore_bbchecksum __P((void *)); -int filecore_bread __P((struct filecore_mnt *, u_int32_t, int, - kauth_cred_t, struct buf **)); -int filecore_map __P((struct filecore_mnt *, u_int32_t, daddr_t, daddr_t *)); +int filecore_bbchecksum(void *); +int filecore_bread(struct filecore_mnt *, u_int32_t, int, + kauth_cred_t, struct buf **); +int filecore_map(struct filecore_mnt *, u_int32_t, daddr_t, daddr_t *); diff --git a/sys/fs/filecorefs/filecore_node.h b/sys/fs/filecorefs/filecore_node.h index 24fe2c81860..16371a0d9b9 100644 --- a/sys/fs/filecorefs/filecore_node.h +++ b/sys/fs/filecorefs/filecore_node.h @@ -1,4 +1,4 @@ -/* $NetBSD: filecore_node.h,v 1.4 2005/12/03 17:34:43 christos Exp $ */ +/* $NetBSD: filecore_node.h,v 1.5 2009/03/14 14:46:09 dsl Exp $ */ /*- * Copyright (c) 1994 The Regents of the University of California. @@ -113,35 +113,35 @@ struct filecore_node { /* * Prototypes for Filecore vnode operations */ -int filecore_lookup __P((void *)); +int filecore_lookup(void *); #define filecore_open genfs_nullop #define filecore_close genfs_nullop -int filecore_access __P((void *)); -int filecore_getattr __P((void *)); -int filecore_read __P((void *)); +int filecore_access(void *); +int filecore_getattr(void *); +int filecore_read(void *); #define filecore_poll genfs_poll #define filecore_mmap genfs_mmap #define filecore_seek genfs_seek -int filecore_readdir __P((void *)); -int filecore_readlink __P((void *)); +int filecore_readdir(void *); +int filecore_readlink(void *); #define filecore_abortop genfs_abortop -int filecore_inactive __P((void *)); -int filecore_reclaim __P((void *)); -int filecore_link __P((void *)); -int filecore_symlink __P((void *)); -int filecore_bmap __P((void *)); -int filecore_strategy __P((void *)); -int filecore_print __P((void *)); -int filecore_pathconf __P((void *)); -int filecore_blkatoff __P((void *)); +int filecore_inactive(void *); +int filecore_reclaim(void *); +int filecore_link(void *); +int filecore_symlink(void *); +int filecore_bmap(void *); +int filecore_strategy(void *); +int filecore_print(void *); +int filecore_pathconf(void *); +int filecore_blkatoff(void *); -struct vnode *filecore_ihashget __P((dev_t, ino_t)); -void filecore_ihashins __P((struct filecore_node *)); -void filecore_ihashrem __P((struct filecore_node *)); +struct vnode *filecore_ihashget(dev_t, ino_t); +void filecore_ihashins(struct filecore_node *); +void filecore_ihashrem(struct filecore_node *); -mode_t filecore_mode __P((struct filecore_node *)); -struct timespec filecore_time __P((struct filecore_node *)); -ino_t filecore_getparent __P((struct filecore_node *)); -int filecore_fn2unix __P((char *, char *, u_int16_t *)); -int filecore_fncmp __P((const char *, const char *, u_short)); -int filecore_dbread __P((struct filecore_node *, struct buf **)); +mode_t filecore_mode(struct filecore_node *); +struct timespec filecore_time(struct filecore_node *); +ino_t filecore_getparent(struct filecore_node *); +int filecore_fn2unix(char *, char *, u_int16_t *); +int filecore_fncmp(const char *, const char *, u_short); +int filecore_dbread(struct filecore_node *, struct buf **); diff --git a/sys/fs/filecorefs/filecore_vfsops.c b/sys/fs/filecorefs/filecore_vfsops.c index de89a5de9e9..e05c359b138 100644 --- a/sys/fs/filecorefs/filecore_vfsops.c +++ b/sys/fs/filecorefs/filecore_vfsops.c @@ -1,4 +1,4 @@ -/* $NetBSD: filecore_vfsops.c,v 1.55 2008/06/28 01:34:05 rumble Exp $ */ +/* $NetBSD: filecore_vfsops.c,v 1.56 2009/03/14 14:46:09 dsl Exp $ */ /*- * Copyright (c) 1994 The Regents of the University of California. @@ -66,7 +66,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: filecore_vfsops.c,v 1.55 2008/06/28 01:34:05 rumble Exp $"); +__KERNEL_RCSID(0, "$NetBSD: filecore_vfsops.c,v 1.56 2009/03/14 14:46:09 dsl Exp $"); #if defined(_KERNEL_OPT) #include "opt_compat_netbsd.h" @@ -191,8 +191,8 @@ filecorefs_modcmd(modcmd_t cmd, void *arg) * Name is updated by mount(8) after booting. */ -static int filecore_mountfs __P((struct vnode *devvp, struct mount *mp, - struct lwp *l, struct filecore_args *argp)); +static int filecore_mountfs(struct vnode *devvp, struct mount *mp, + struct lwp *l, struct filecore_args *argp); #if 0 int diff --git a/sys/fs/filecorefs/filecore_vnops.c b/sys/fs/filecorefs/filecore_vnops.c index 6b83d801439..0200ae98536 100644 --- a/sys/fs/filecorefs/filecore_vnops.c +++ b/sys/fs/filecorefs/filecore_vnops.c @@ -1,4 +1,4 @@ -/* $NetBSD: filecore_vnops.c,v 1.28 2008/11/26 20:17:33 pooka Exp $ */ +/* $NetBSD: filecore_vnops.c,v 1.29 2009/03/14 14:46:09 dsl Exp $ */ /*- * Copyright (c) 1994 The Regents of the University of California. @@ -66,7 +66,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: filecore_vnops.c,v 1.28 2008/11/26 20:17:33 pooka Exp $"); +__KERNEL_RCSID(0, "$NetBSD: filecore_vnops.c,v 1.29 2009/03/14 14:46:09 dsl Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -546,7 +546,7 @@ filecore_pathconf(v) /* * Global vfs data structures for filecore */ -int (**filecore_vnodeop_p) __P((void *)); +int (**filecore_vnodeop_p)(void *); const struct vnodeopv_entry_desc filecore_vnodeop_entries[] = { { &vop_default_desc, vn_default_error }, { &vop_lookup_desc, filecore_lookup }, /* lookup */ |
