summaryrefslogtreecommitdiff
path: root/sys/compat/ossaudio
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-03-14 01:27:20 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-03-14 01:27:20 +0000
commit8327d0774703553db5e1a41a04bfdf4b1797c2ce (patch)
treeac9a52bace179e17769651fb9f805070d78abe5f /sys/compat/ossaudio
parent7b2c79b5895287d37f0c4e3adfc396eb7a6c03fb (diff)
First round of __P removal in sys
Diffstat (limited to 'sys/compat/ossaudio')
-rw-r--r--sys/compat/ossaudio/ossaudio.c12
-rw-r--r--sys/compat/ossaudio/ossaudio.h14
2 files changed, 13 insertions, 13 deletions
diff --git a/sys/compat/ossaudio/ossaudio.c b/sys/compat/ossaudio/ossaudio.c
index 71370993a55..b978de2856a 100644
--- a/sys/compat/ossaudio/ossaudio.c
+++ b/sys/compat/ossaudio/ossaudio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ossaudio.c,v 1.7 2002/02/14 22:57:18 pvalchev Exp $ */
+/* $OpenBSD: ossaudio.c,v 1.8 2002/03/14 01:26:50 millert Exp $ */
/* $NetBSD: ossaudio.c,v 1.23 1997/10/19 07:41:52 augustss Exp $ */
/*
@@ -59,9 +59,9 @@ int ossdebug = 0;
#define TO_OSSVOL(x) ((x) * 100 / 255)
#define FROM_OSSVOL(x) ((x) * 255 / 100)
-static struct audiodevinfo *getdevinfo __P((struct file *, struct proc *));
+static struct audiodevinfo *getdevinfo(struct file *, struct proc *);
-static void setblocksize __P((struct file *, struct audio_info *, struct proc *));
+static void setblocksize(struct file *, struct audio_info *, struct proc *);
int
@@ -85,7 +85,7 @@ oss_ioctl_audio(p, uap, retval)
u_int u;
int idat, idata;
int error;
- int (*ioctlf) __P((struct file *, u_long, caddr_t, struct proc *));
+ int (*ioctlf)(struct file *, u_long, caddr_t, struct proc *);
fdp = p->p_fd;
if ((fp = fd_getfile(fdp, SCARG(uap, fd))) == NULL)
@@ -569,7 +569,7 @@ getdevinfo(fp, p)
{ 0, -1 }
};
register const struct oss_devs *dp;
- int (*ioctlf) __P((struct file *, u_long, caddr_t, struct proc *)) =
+ int (*ioctlf)(struct file *, u_long, caddr_t, struct proc *) =
fp->f_ops->fo_ioctl;
struct vnode *vp;
struct vattr va;
@@ -662,7 +662,7 @@ oss_ioctl_mixer(p, uap, retval)
int i;
int error;
int l, r, n;
- int (*ioctlf) __P((struct file *, u_long, caddr_t, struct proc *));
+ int (*ioctlf)(struct file *, u_long, caddr_t, struct proc *);
fdp = p->p_fd;
if ((fp = fd_getfile(fdp, SCARG(uap, fd))) == NULL)
diff --git a/sys/compat/ossaudio/ossaudio.h b/sys/compat/ossaudio/ossaudio.h
index b4d345706c6..6dc990e90c8 100644
--- a/sys/compat/ossaudio/ossaudio.h
+++ b/sys/compat/ossaudio/ossaudio.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ossaudio.h,v 1.2 1998/04/26 22:15:44 provos Exp $ */
+/* $OpenBSD: ossaudio.h,v 1.3 2002/03/14 01:26:50 millert Exp $ */
/* $NetBSD: ossaudio.h,v 1.5 1997/10/16 16:49:37 augustss Exp $ */
/*
@@ -36,9 +36,9 @@
struct oss_sys_ioctl_args;
-int oss_ioctl_audio __P((struct proc *, struct oss_sys_ioctl_args *,
- register_t *));
-int oss_ioctl_mixer __P((struct proc *, struct oss_sys_ioctl_args *,
- register_t *));
-int oss_ioctl_sequencer __P((struct proc *, struct oss_sys_ioctl_args *,
- register_t *));
+int oss_ioctl_audio(struct proc *, struct oss_sys_ioctl_args *,
+ register_t *);
+int oss_ioctl_mixer(struct proc *, struct oss_sys_ioctl_args *,
+ register_t *);
+int oss_ioctl_sequencer(struct proc *, struct oss_sys_ioctl_args *,
+ register_t *);