From 3970e888bce599fc7ef0e269ac9113146e2afbdc Mon Sep 17 00:00:00 2001 From: alfred Date: Wed, 27 Feb 2002 18:51:53 +0000 Subject: kill __P. --- sys/kern/sys_pipe.c | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) (limited to 'sys/kern/sys_pipe.c') diff --git a/sys/kern/sys_pipe.c b/sys/kern/sys_pipe.c index 204f1f7..434a9cb 100644 --- a/sys/kern/sys_pipe.c +++ b/sys/kern/sys_pipe.c @@ -90,16 +90,16 @@ /* * interfaces to the outside world */ -static int pipe_read __P((struct file *fp, struct uio *uio, - struct ucred *cred, int flags, struct thread *td)); -static int pipe_write __P((struct file *fp, struct uio *uio, - struct ucred *cred, int flags, struct thread *td)); -static int pipe_close __P((struct file *fp, struct thread *td)); -static int pipe_poll __P((struct file *fp, int events, struct ucred *cred, - struct thread *td)); -static int pipe_kqfilter __P((struct file *fp, struct knote *kn)); -static int pipe_stat __P((struct file *fp, struct stat *sb, struct thread *td)); -static int pipe_ioctl __P((struct file *fp, u_long cmd, caddr_t data, struct thread *td)); +static int pipe_read(struct file *fp, struct uio *uio, + struct ucred *cred, int flags, struct thread *td); +static int pipe_write(struct file *fp, struct uio *uio, + struct ucred *cred, int flags, struct thread *td); +static int pipe_close(struct file *fp, struct thread *td); +static int pipe_poll(struct file *fp, int events, struct ucred *cred, + struct thread *td); +static int pipe_kqfilter(struct file *fp, struct knote *kn); +static int pipe_stat(struct file *fp, struct stat *sb, struct thread *td); +static int pipe_ioctl(struct file *fp, u_long cmd, caddr_t data, struct thread *td); static struct fileops pipeops = { pipe_read, pipe_write, pipe_ioctl, pipe_poll, pipe_kqfilter, @@ -156,20 +156,20 @@ static int nbigpipe; static int amountpipekva; -static void pipeinit __P((void *dummy __unused)); -static void pipeclose __P((struct pipe *cpipe)); -static void pipe_free_kmem __P((struct pipe *cpipe)); -static int pipe_create __P((struct pipe **cpipep)); -static __inline int pipelock __P((struct pipe *cpipe, int catch)); -static __inline void pipeunlock __P((struct pipe *cpipe)); -static __inline void pipeselwakeup __P((struct pipe *cpipe)); +static void pipeinit(void *dummy __unused); +static void pipeclose(struct pipe *cpipe); +static void pipe_free_kmem(struct pipe *cpipe); +static int pipe_create(struct pipe **cpipep); +static __inline int pipelock(struct pipe *cpipe, int catch); +static __inline void pipeunlock(struct pipe *cpipe); +static __inline void pipeselwakeup(struct pipe *cpipe); #ifndef PIPE_NODIRECT -static int pipe_build_write_buffer __P((struct pipe *wpipe, struct uio *uio)); -static void pipe_destroy_write_buffer __P((struct pipe *wpipe)); -static int pipe_direct_write __P((struct pipe *wpipe, struct uio *uio)); -static void pipe_clone_write_buffer __P((struct pipe *wpipe)); +static int pipe_build_write_buffer(struct pipe *wpipe, struct uio *uio); +static void pipe_destroy_write_buffer(struct pipe *wpipe); +static int pipe_direct_write(struct pipe *wpipe, struct uio *uio); +static void pipe_clone_write_buffer(struct pipe *wpipe); #endif -static int pipespace __P((struct pipe *cpipe, int size)); +static int pipespace(struct pipe *cpipe, int size); static vm_zone_t pipe_zone; -- cgit v1.1