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 try to make this compile again.



details:   https://anonhg.NetBSD.org/src/rev/1a1072a39ad5
branches:  trunk
changeset: 769726:1a1072a39ad5
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Sep 20 18:11:51 2011 +0000

description:
try to make this compile again.

diffstat:

 sys/arch/amiga/dev/zbus.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (35 lines):

diff -r 9215ada16bc4 -r 1a1072a39ad5 sys/arch/amiga/dev/zbus.c
--- a/sys/arch/amiga/dev/zbus.c Tue Sep 20 14:28:52 2011 +0000
+++ b/sys/arch/amiga/dev/zbus.c Tue Sep 20 18:11:51 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: zbus.c,v 1.65 2011/09/17 16:55:34 rkujawa Exp $ */
+/*     $NetBSD: zbus.c,v 1.66 2011/09/20 18:11:51 christos Exp $ */
 
 /*
  * Copyright (c) 1994 Christian E. Hopps
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: zbus.c,v 1.65 2011/09/17 16:55:34 rkujawa Exp $");
+__KERNEL_RCSID(0, "$NetBSD: zbus.c,v 1.66 2011/09/20 18:11:51 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -239,6 +239,7 @@
 int zbusprint(void *, const char *);
 int zbusmatch(device_t, cfdata_t, void *);
 static const char *aconflookup(int, int);
+static void *zbusmap(void *, u_int);
 
 /*
  * given a manufacturer id and product id, find quirks
@@ -387,7 +388,7 @@
  * Zorro devices) to have enough kva-space available, so there is no extra
  * range check done here.
  */
-void *
+static void *
 zbusmap(void *pa, u_int size)
 {
 #if defined(__m68k__)



Home | Main Index | Thread Index | Old Index