Add __unused as necessary.

This commit is contained in:
thorpej 2006-10-12 04:29:37 +00:00
parent 867f8cb239
commit 435147e718
1 changed files with 6 additions and 5 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: kern_drvctl.c,v 1.6 2006/10/06 17:54:05 gdt Exp $ */
/* $NetBSD: kern_drvctl.c,v 1.7 2006/10/12 04:29:37 thorpej Exp $ */
/*
* Copyright (c) 2004
@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: kern_drvctl.c,v 1.6 2006/10/06 17:54:05 gdt Exp $");
__KERNEL_RCSID(0, "$NetBSD: kern_drvctl.c,v 1.7 2006/10/12 04:29:37 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -127,7 +127,8 @@ rescanbus(const char *busname, const char *ifattr,
}
int
drvctlioctl(dev_t dev, u_long cmd, caddr_t data, int flag, struct lwp *p)
drvctlioctl(dev_t dev __unused, u_long cmd, caddr_t data, int flag,
struct lwp *p)
{
int res;
char *ifattr;
@ -176,7 +177,7 @@ drvctlioctl(dev_t dev, u_long cmd, caddr_t data, int flag, struct lwp *p)
}
void
drvctlattach(int arg)
drvctlattach(int arg __unused)
{
}
@ -185,7 +186,7 @@ drvctlattach(int arg)
*****************************************************************************/
static int
drvctl_command_get_properties(struct lwp *l,
drvctl_command_get_properties(struct lwp *l __unused,
prop_dictionary_t command_dict,
prop_dictionary_t results_dict)
{