Correct even more ioctl breakage :(

Doesn't people check their code before committing anymore, it could
at least compile  ????
This commit is contained in:
sos 1998-06-08 09:00:28 +00:00
parent 2c9e07b212
commit fe1d05742f
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;