apply __diagused where appropriate.
This commit is contained in:
parent
f67d132c4b
commit
c15bdfe60d
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: irframe_tty.c,v 1.58 2009/05/12 14:29:42 cegger Exp $ */
|
||||
/* $NetBSD: irframe_tty.c,v 1.59 2013/12/16 15:49:40 mrg Exp $ */
|
||||
|
||||
/*
|
||||
* TODO
|
||||
|
@ -41,7 +41,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: irframe_tty.c,v 1.58 2009/05/12 14:29:42 cegger Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: irframe_tty.c,v 1.59 2013/12/16 15:49:40 mrg Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/proc.h>
|
||||
|
@ -914,7 +914,7 @@ void
|
|||
irt_ioctl(struct tty *tp, u_long cmd, void *arg)
|
||||
{
|
||||
const struct cdevsw *cdev;
|
||||
int error;
|
||||
int error __diagused;
|
||||
dev_t dev;
|
||||
|
||||
dev = tp->t_dev;
|
||||
|
|
Loading…
Reference in New Issue