Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic do as joerg requested and mark an unused function...



details:   https://anonhg.NetBSD.org/src/rev/6794cf14dc9a
branches:  trunk
changeset: 792435:6794cf14dc9a
user:      macallan <macallan%NetBSD.org@localhost>
date:      Fri Jan 03 15:57:12 2014 +0000

description:
do as joerg requested and mark an unused function __unused

diffstat:

 sys/dev/ic/ct65550.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r b92cc1b1a6d7 -r 6794cf14dc9a sys/dev/ic/ct65550.c
--- a/sys/dev/ic/ct65550.c      Fri Jan 03 15:49:49 2014 +0000
+++ b/sys/dev/ic/ct65550.c      Fri Jan 03 15:57:12 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ct65550.c,v 1.8 2013/10/09 17:20:54 macallan Exp $     */
+/*     $NetBSD: ct65550.c,v 1.9 2014/01/03 15:57:12 macallan Exp $     */
 
 /*
  * Copyright (c) 2006 Michael Lorenz
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ct65550.c,v 1.8 2013/10/09 17:20:54 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ct65550.c,v 1.9 2014/01/03 15:57:12 macallan Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -151,7 +151,7 @@
        return bus_space_read_1(sc->sc_iot, sc->sc_ioregh, reg);
 }
 
-static inline uint8_t
+__unused static inline uint8_t
 chipsfb_read_indexed(struct chipsfb_softc *sc, uint32_t reg, uint8_t index)
 {
 



Home | Main Index | Thread Index | Old Index