Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/sgimips/gio more __unused()



details:   https://anonhg.NetBSD.org/src/rev/7da3e8ef0bd5
branches:  trunk
changeset: 796419:7da3e8ef0bd5
user:      macallan <macallan%NetBSD.org@localhost>
date:      Mon Jun 02 15:16:23 2014 +0000

description:
more __unused()

diffstat:

 sys/arch/sgimips/gio/newport.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r e57dcb43b25d -r 7da3e8ef0bd5 sys/arch/sgimips/gio/newport.c
--- a/sys/arch/sgimips/gio/newport.c    Mon Jun 02 15:07:24 2014 +0000
+++ b/sys/arch/sgimips/gio/newport.c    Mon Jun 02 15:16:23 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: newport.c,v 1.17 2012/01/11 21:23:38 macallan Exp $    */
+/*     $NetBSD: newport.c,v 1.18 2014/06/02 15:16:23 macallan Exp $    */
 
 /*
  * Copyright (c) 2003 Ilpo Ruotsalainen
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: newport.c,v 1.17 2012/01/11 21:23:38 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: newport.c,v 1.18 2014/06/02 15:16:23 macallan Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -433,7 +433,7 @@
 static void
 newport_setup_hw(struct newport_devconfig *dc)
 {
-       uint16_t curp,tmp;
+       uint16_t __unused(curp), tmp;
        int i;
        uint32_t scratch;
 
@@ -882,7 +882,7 @@
 {
        struct vcons_data *vd;
        struct newport_devconfig *dc;
-       struct vcons_screen *ms;
+       struct vcons_screen *__unused(ms);
        int nmode;
 
        vd = (struct vcons_data *)v;



Home | Main Index | Thread Index | Old Index