Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/isa Make this compile without warnings.



details:   https://anonhg.NetBSD.org/src/rev/9f24fa3a7651
branches:  trunk
changeset: 771537:9f24fa3a7651
user:      jakllsch <jakllsch%NetBSD.org@localhost>
date:      Thu Nov 24 16:07:28 2011 +0000

description:
Make this compile without warnings.
(No static is better than inconsistent and partial use of static.)

diffstat:

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

diffs (27 lines):

diff -r b26d792eb5c5 -r 9f24fa3a7651 sys/dev/isa/aria.c
--- a/sys/dev/isa/aria.c        Thu Nov 24 15:54:54 2011 +0000
+++ b/sys/dev/isa/aria.c        Thu Nov 24 16:07:28 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: aria.c,v 1.35 2011/11/24 03:35:57 mrg Exp $    */
+/*     $NetBSD: aria.c,v 1.36 2011/11/24 16:07:28 jakllsch Exp $       */
 
 /*-
  * Copyright (c) 1995, 1996, 1998 The NetBSD Foundation, Inc.
@@ -50,7 +50,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: aria.c,v 1.35 2011/11/24 03:35:57 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: aria.c,v 1.36 2011/11/24 16:07:28 jakllsch Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -1668,7 +1668,7 @@
        return 0;
 }
 
-static void
+void
 aria_get_locks(void *addr, kmutex_t **intr, kmutex_t **thread)
 {
        struct aria_softc *sc;



Home | Main Index | Thread Index | Old Index