Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/macppc/macppc mark heathrow_read_events() and ohare...



details:   https://anonhg.NetBSD.org/src/rev/4fb57582c800
branches:  trunk
changeset: 767007:4fb57582c800
user:      mrg <mrg%NetBSD.org@localhost>
date:      Thu Jul 07 01:26:37 2011 +0000

description:
mark heathrow_read_events() and ohare_read_events() static.

diffstat:

 sys/arch/macppc/macppc/pic_heathrow.c |  8 ++++----
 sys/arch/macppc/macppc/pic_ohare.c    |  8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)

diffs (72 lines):

diff -r b539b2202439 -r 4fb57582c800 sys/arch/macppc/macppc/pic_heathrow.c
--- a/sys/arch/macppc/macppc/pic_heathrow.c     Thu Jul 07 01:26:16 2011 +0000
+++ b/sys/arch/macppc/macppc/pic_heathrow.c     Thu Jul 07 01:26:37 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pic_heathrow.c,v 1.6 2011/06/19 07:59:47 matt Exp $ */
+/*     $NetBSD: pic_heathrow.c,v 1.7 2011/07/07 01:26:37 mrg Exp $ */
 
 /*-
  * Copyright (c) 2007 Michael Lorenz
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pic_heathrow.c,v 1.6 2011/06/19 07:59:47 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pic_heathrow.c,v 1.7 2011/07/07 01:26:37 mrg Exp $");
 
 #include "opt_interrupt.h"
 
@@ -60,7 +60,7 @@
 };
 
 static struct heathrow_ops *setup_heathrow(uint32_t);
-inline void heathrow_read_events(struct heathrow_ops *);
+static inline void heathrow_read_events(struct heathrow_ops *);
 
 #define INT_STATE_REG_H                ((uint32_t)pic->pic_cookie + 0x10)
 #define INT_ENABLE_REG_H       ((uint32_t)pic->pic_cookie + 0x14)
@@ -193,7 +193,7 @@
        }
 }
 
-inline void
+static inline void
 heathrow_read_events(struct heathrow_ops *heathrow)
 {
        struct pic_ops *pic = &heathrow->pic;
diff -r b539b2202439 -r 4fb57582c800 sys/arch/macppc/macppc/pic_ohare.c
--- a/sys/arch/macppc/macppc/pic_ohare.c        Thu Jul 07 01:26:16 2011 +0000
+++ b/sys/arch/macppc/macppc/pic_ohare.c        Thu Jul 07 01:26:37 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pic_ohare.c,v 1.9 2011/06/19 07:59:47 matt Exp $ */
+/*     $NetBSD: pic_ohare.c,v 1.10 2011/07/07 01:26:37 mrg Exp $ */
 
 /*-
  * Copyright (c) 2007 Michael Lorenz
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pic_ohare.c,v 1.9 2011/06/19 07:59:47 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pic_ohare.c,v 1.10 2011/07/07 01:26:37 mrg Exp $");
 
 #include "opt_interrupt.h"
 
@@ -62,7 +62,7 @@
 
 static struct ohare_ops *setup_ohare(uint32_t, int);
 static void setup_ohare2(uint32_t, int);
-inline void ohare_read_events(struct ohare_ops *);
+static inline void ohare_read_events(struct ohare_ops *);
 
 #define INT_STATE_REG  ((uint32_t)pic->pic_cookie + 0x20)
 #define INT_ENABLE_REG ((uint32_t)pic->pic_cookie + 0x24)
@@ -199,7 +199,7 @@
        out32rb(INT_ENABLE_REG, ohare->enable_mask); 
 }
 
-inline void
+static inline void
 ohare_read_events(struct ohare_ops *ohare)
 {
        struct pic_ops *pic = &ohare->pic;



Home | Main Index | Thread Index | Old Index