speaker: ansify
Sponsored by: Rubicon Communications, LLC ("Netgate")
This commit is contained in:
parent
a066bba2da
commit
aa0b46948e
@ -403,11 +403,7 @@ static int spkr_active = FALSE; /* exclusion flag */
|
||||
static char *spkr_inbuf; /* incoming buf */
|
||||
|
||||
static int
|
||||
spkropen(dev, flags, fmt, td)
|
||||
struct cdev *dev;
|
||||
int flags;
|
||||
int fmt;
|
||||
struct thread *td;
|
||||
spkropen(struct cdev *dev, int flags, int fmt, struct thread *td)
|
||||
{
|
||||
#ifdef DEBUG
|
||||
(void) printf("spkropen: entering with dev = %s\n", devtoname(dev));
|
||||
@ -427,10 +423,7 @@ spkropen(dev, flags, fmt, td)
|
||||
}
|
||||
|
||||
static int
|
||||
spkrwrite(dev, uio, ioflag)
|
||||
struct cdev *dev;
|
||||
struct uio *uio;
|
||||
int ioflag;
|
||||
spkrwrite(struct cdev *dev, struct uio *uio, int ioflag)
|
||||
{
|
||||
#ifdef DEBUG
|
||||
printf("spkrwrite: entering with dev = %s, count = %zd\n",
|
||||
@ -456,11 +449,7 @@ spkrwrite(dev, uio, ioflag)
|
||||
}
|
||||
|
||||
static int
|
||||
spkrclose(dev, flags, fmt, td)
|
||||
struct cdev *dev;
|
||||
int flags;
|
||||
int fmt;
|
||||
struct thread *td;
|
||||
spkrclose(struct cdev *dev, int flags, int fmt, struct thread *td)
|
||||
{
|
||||
#ifdef DEBUG
|
||||
(void) printf("spkrclose: entering with dev = %s\n", devtoname(dev));
|
||||
@ -474,12 +463,8 @@ spkrclose(dev, flags, fmt, td)
|
||||
}
|
||||
|
||||
static int
|
||||
spkrioctl(dev, cmd, cmdarg, flags, td)
|
||||
struct cdev *dev;
|
||||
unsigned long cmd;
|
||||
caddr_t cmdarg;
|
||||
int flags;
|
||||
struct thread *td;
|
||||
spkrioctl(struct cdev *dev, unsigned long cmd, caddr_t cmdarg, int flags,
|
||||
struct thread *td)
|
||||
{
|
||||
#ifdef DEBUG
|
||||
(void) printf("spkrioctl: entering with dev = %s, cmd = %lx\n",
|
||||
|
Loading…
Reference in New Issue
Block a user