Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ir apply __diagused where appropriate.
details: https://anonhg.NetBSD.org/src/rev/5bd0e9ef5af4
branches: trunk
changeset: 325284:5bd0e9ef5af4
user: mrg <mrg%NetBSD.org@localhost>
date: Mon Dec 16 15:49:40 2013 +0000
description:
apply __diagused where appropriate.
diffstat:
sys/dev/ir/irframe_tty.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r bb2de3407eef -r 5bd0e9ef5af4 sys/dev/ir/irframe_tty.c
--- a/sys/dev/ir/irframe_tty.c Mon Dec 16 15:49:25 2013 +0000
+++ b/sys/dev/ir/irframe_tty.c Mon Dec 16 15:49:40 2013 +0000
@@ -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 @@
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;
Home |
Main Index |
Thread Index |
Old Index