Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/amiga/dev Mark variables only used in KASSET to app...



details:   https://anonhg.NetBSD.org/src/rev/a3457fbabb71
branches:  trunk
changeset: 328198:a3457fbabb71
user:      mlelstv <mlelstv%NetBSD.org@localhost>
date:      Sat Mar 29 12:55:11 2014 +0000

description:
Mark variables only used in KASSET to appease compiler.

diffstat:

 sys/arch/amiga/dev/amidisplaycc.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r e0efc209d108 -r a3457fbabb71 sys/arch/amiga/dev/amidisplaycc.c
--- a/sys/arch/amiga/dev/amidisplaycc.c Sat Mar 29 12:54:27 2014 +0000
+++ b/sys/arch/amiga/dev/amidisplaycc.c Sat Mar 29 12:55:11 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: amidisplaycc.c,v 1.26 2012/10/27 17:17:26 chs Exp $ */
+/*     $NetBSD: amidisplaycc.c,v 1.27 2014/03/29 12:55:11 mlelstv Exp $ */
 
 /*-
  * Copyright (c) 2000 Jukka Andberg.
@@ -28,7 +28,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: amidisplaycc.c,v 1.26 2012/10/27 17:17:26 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: amidisplaycc.c,v 1.27 2014/03/29 12:55:11 mlelstv Exp $");
 
 /*
  * wscons interface to amiga custom chips. Contains the necessary functions
@@ -1448,8 +1448,8 @@
 int
 amidisplaycc_load_font(void *dp, void *cookie, struct wsdisplay_font *font)
 {
-       struct amidisplaycc_softc   * adp;
-       struct amidisplaycc_screen  * scr;
+       struct amidisplaycc_softc   * adp __diagused;
+       struct amidisplaycc_screen  * scr __diagused;
 
        adp = dp;
        scr = cookie;



Home | Main Index | Thread Index | Old Index