summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2002-02-27 18:51:53 +0000
committeralfred <alfred@FreeBSD.org>2002-02-27 18:51:53 +0000
commit3970e888bce599fc7ef0e269ac9113146e2afbdc (patch)
tree6f391c32e2a89d772e7fd68915cdbfe14c981bc2 /sys
parentfc10081bae1648ec0fa3822a744459b64ec72aa8 (diff)
downloadFreeBSD-src-3970e888bce599fc7ef0e269ac9113146e2afbdc.zip
FreeBSD-src-3970e888bce599fc7ef0e269ac9113146e2afbdc.tar.gz
kill __P.
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/sys_pipe.c44
1 files changed, 22 insertions, 22 deletions
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;
OpenPOWER on IntegriCloud