diff options
author | alfred <alfred@FreeBSD.org> | 2002-06-29 01:50:25 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2002-06-29 01:50:25 +0000 |
commit | d1cbf6a1d1f96288005329dfaca2aaffbd884d81 (patch) | |
tree | 480d9a4714cee393962a43131592a836579134f8 /sys/kern/sys_pipe.c | |
parent | d92411ce7ab4b178ff55c7f84e10521c0c933e1b (diff) | |
download | FreeBSD-src-d1cbf6a1d1f96288005329dfaca2aaffbd884d81.zip FreeBSD-src-d1cbf6a1d1f96288005329dfaca2aaffbd884d81.tar.gz |
More caddr_t removal, make fo_ioctl take a void * instead of a caddr_t.
Diffstat (limited to 'sys/kern/sys_pipe.c')
-rw-r--r-- | sys/kern/sys_pipe.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/kern/sys_pipe.c b/sys/kern/sys_pipe.c index 11ab6d1..289bc37 100644 --- a/sys/kern/sys_pipe.c +++ b/sys/kern/sys_pipe.c @@ -100,7 +100,8 @@ 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 int pipe_ioctl(struct file *fp, u_long cmd, void *data, + struct thread *td); static struct fileops pipeops = { pipe_read, pipe_write, pipe_ioctl, pipe_poll, pipe_kqfilter, @@ -1116,7 +1117,7 @@ int pipe_ioctl(fp, cmd, data, td) struct file *fp; u_long cmd; - caddr_t data; + void *data; struct thread *td; { struct pipe *mpipe = (struct pipe *)fp->f_data; |