summaryrefslogtreecommitdiffstats
path: root/sys/fs
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2002-03-20 05:00:21 +0000
committeralfred <alfred@FreeBSD.org>2002-03-20 05:00:21 +0000
commit62379fef927268e564719e3e766bb3900ef387c7 (patch)
treea15914b256a4797b4822c43c5505b2998e910b0d /sys/fs
parent803cb2a2ba1f8847bbb7ea2f1c36cfc14a645091 (diff)
downloadFreeBSD-src-62379fef927268e564719e3e766bb3900ef387c7.zip
FreeBSD-src-62379fef927268e564719e3e766bb3900ef387c7.tar.gz
Remove __P.
Diffstat (limited to 'sys/fs')
-rw-r--r--sys/fs/coda/coda_fbsd.c6
-rw-r--r--sys/fs/coda/coda_vfsops.c2
-rw-r--r--sys/fs/coda/coda_vnops.h62
3 files changed, 35 insertions, 35 deletions
diff --git a/sys/fs/coda/coda_fbsd.c b/sys/fs/coda/coda_fbsd.c
index fc7c07c..74a7eaa 100644
--- a/sys/fs/coda/coda_fbsd.c
+++ b/sys/fs/coda/coda_fbsd.c
@@ -174,9 +174,9 @@ printf("error = %d\n", error);
/* for DEVFS, using bpf & tun drivers as examples*/
-static void coda_fbsd_drvinit __P((void *unused));
-static void coda_fbsd_drvuninit __P((void *unused));
-static void coda_fbsd_clone __P((void *arg, char *name, int namelen, dev_t *dev));
+static void coda_fbsd_drvinit(void *unused);
+static void coda_fbsd_drvuninit(void *unused);
+static void coda_fbsd_clone(void *arg, char *name, int namelen, dev_t *dev);
static void coda_fbsd_clone(arg, name, namelen, dev)
void *arg;
diff --git a/sys/fs/coda/coda_vfsops.c b/sys/fs/coda/coda_vfsops.c
index 5d5a810..e868651 100644
--- a/sys/fs/coda/coda_vfsops.c
+++ b/sys/fs/coda/coda_vfsops.c
@@ -82,7 +82,7 @@ struct coda_op_stats coda_vfsopstats[CODA_VFSOPS_SIZE];
#define MRAK_INT_GEN(op) (coda_vfsopstats[op].gen_intrn++)
extern int coda_nc_initialized; /* Set if cache has been initialized */
-extern int vc_nb_open __P((dev_t, int, int, struct thread *));
+extern int vc_nb_open(dev_t, int, int, struct thread *);
int
coda_vfsopstats_init(void)
diff --git a/sys/fs/coda/coda_vnops.h b/sys/fs/coda/coda_vnops.h
index 99392d6..29f17cf 100644
--- a/sys/fs/coda/coda_vnops.h
+++ b/sys/fs/coda/coda_vnops.h
@@ -47,37 +47,37 @@
/* NetBSD interfaces to the vnodeops */
-int coda_open __P((void *));
-int coda_close __P((void *));
-int coda_read __P((void *));
-int coda_write __P((void *));
-int coda_ioctl __P((void *));
-/* 1.3 int cfs_select __P((void *));*/
-int coda_getattr __P((void *));
-int coda_setattr __P((void *));
-int coda_access __P((void *));
-int coda_abortop __P((void *));
-int coda_readlink __P((void *));
-int coda_fsync __P((void *));
-int coda_inactive __P((void *));
-int coda_lookup __P((void *));
-int coda_create __P((void *));
-int coda_remove __P((void *));
-int coda_link __P((void *));
-int coda_rename __P((void *));
-int coda_mkdir __P((void *));
-int coda_rmdir __P((void *));
-int coda_symlink __P((void *));
-int coda_readdir __P((void *));
-int coda_bmap __P((void *));
-int coda_strategy __P((void *));
-int coda_reclaim __P((void *));
-int coda_lock __P((void *));
-int coda_unlock __P((void *));
-int coda_islocked __P((void *));
-int coda_vop_error __P((void *));
-int coda_vop_nop __P((void *));
-int coda_fbsd_getpages __P((void *));
+int coda_open(void *);
+int coda_close(void *);
+int coda_read(void *);
+int coda_write(void *);
+int coda_ioctl(void *);
+/* 1.3 int cfs_select(void *);*/
+int coda_getattr(void *);
+int coda_setattr(void *);
+int coda_access(void *);
+int coda_abortop(void *);
+int coda_readlink(void *);
+int coda_fsync(void *);
+int coda_inactive(void *);
+int coda_lookup(void *);
+int coda_create(void *);
+int coda_remove(void *);
+int coda_link(void *);
+int coda_rename(void *);
+int coda_mkdir(void *);
+int coda_rmdir(void *);
+int coda_symlink(void *);
+int coda_readdir(void *);
+int coda_bmap(void *);
+int coda_strategy(void *);
+int coda_reclaim(void *);
+int coda_lock(void *);
+int coda_unlock(void *);
+int coda_islocked(void *);
+int coda_vop_error(void *);
+int coda_vop_nop(void *);
+int coda_fbsd_getpages (void *);
int coda_rdwr(struct vnode *vp, struct uio *uiop, enum uio_rw rw,
int ioflag, struct ucred *cred, struct thread *td);
OpenPOWER on IntegriCloud