1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-02 08:42:48 +00:00

Correct even more ioctl breakage :(

Doesn't people check their code before committing anymore, it could
at least compile  ????
This commit is contained in:
Søren Schmidt 1998-06-08 09:00:28 +00:00
parent 4dd125707d
commit 1747fd3131
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=36764
9 changed files with 9 additions and 9 deletions

View File

@ -357,7 +357,7 @@ mss_close(dev_t dev, int flags, int mode, struct proc * p)
}
static int
mss_ioctl(dev_t dev, int cmd, caddr_t arg, int mode, struct proc * p)
mss_ioctl(dev_t dev, u_long cmd, caddr_t arg, int mode, struct proc * p)
{
snddev_info *d;
int unit;

View File

@ -238,7 +238,7 @@ sb_dsp_close(dev_t dev, int flags, int mode, struct proc * p)
}
static int
sb_dsp_ioctl(dev_t dev, int cmd, caddr_t arg, int mode, struct proc * p)
sb_dsp_ioctl(dev_t dev, u_long cmd, caddr_t arg, int mode, struct proc * p)
{
int unit;
snddev_info *d;

View File

@ -357,7 +357,7 @@ mss_close(dev_t dev, int flags, int mode, struct proc * p)
}
static int
mss_ioctl(dev_t dev, int cmd, caddr_t arg, int mode, struct proc * p)
mss_ioctl(dev_t dev, u_long cmd, caddr_t arg, int mode, struct proc * p)
{
snddev_info *d;
int unit;

View File

@ -238,7 +238,7 @@ sb_dsp_close(dev_t dev, int flags, int mode, struct proc * p)
}
static int
sb_dsp_ioctl(dev_t dev, int cmd, caddr_t arg, int mode, struct proc * p)
sb_dsp_ioctl(dev_t dev, u_long cmd, caddr_t arg, int mode, struct proc * p)
{
int unit;
snddev_info *d;

View File

@ -238,7 +238,7 @@ sb_dsp_close(dev_t dev, int flags, int mode, struct proc * p)
}
static int
sb_dsp_ioctl(dev_t dev, int cmd, caddr_t arg, int mode, struct proc * p)
sb_dsp_ioctl(dev_t dev, u_long cmd, caddr_t arg, int mode, struct proc * p)
{
int unit;
snddev_info *d;

View File

@ -238,7 +238,7 @@ sb_dsp_close(dev_t dev, int flags, int mode, struct proc * p)
}
static int
sb_dsp_ioctl(dev_t dev, int cmd, caddr_t arg, int mode, struct proc * p)
sb_dsp_ioctl(dev_t dev, u_long cmd, caddr_t arg, int mode, struct proc * p)
{
int unit;
snddev_info *d;

View File

@ -357,7 +357,7 @@ mss_close(dev_t dev, int flags, int mode, struct proc * p)
}
static int
mss_ioctl(dev_t dev, int cmd, caddr_t arg, int mode, struct proc * p)
mss_ioctl(dev_t dev, u_long cmd, caddr_t arg, int mode, struct proc * p)
{
snddev_info *d;
int unit;

View File

@ -238,7 +238,7 @@ sb_dsp_close(dev_t dev, int flags, int mode, struct proc * p)
}
static int
sb_dsp_ioctl(dev_t dev, int cmd, caddr_t arg, int mode, struct proc * p)
sb_dsp_ioctl(dev_t dev, u_long cmd, caddr_t arg, int mode, struct proc * p)
{
int unit;
snddev_info *d;

View File

@ -641,7 +641,7 @@ sndwrite(dev_t i_dev, struct uio * buf, int flag)
*/
static int
sndioctl(dev_t i_dev, int cmd, caddr_t arg, int mode, struct proc * p)
sndioctl(dev_t i_dev, u_long cmd, caddr_t arg, int mode, struct proc * p)
{
int ret = ENOSYS, dev, unit ;
snddev_info *d;