Module Name: src
Committed By: mrg
Date: Thu Jul 7 01:26:37 UTC 2011
Modified Files:
src/sys/arch/macppc/macppc: pic_heathrow.c pic_ohare.c
Log Message:
mark heathrow_read_events() and ohare_read_events() static.
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/macppc/macppc/pic_heathrow.c
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/macppc/macppc/pic_ohare.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/macppc/macppc/pic_heathrow.c
diff -u src/sys/arch/macppc/macppc/pic_heathrow.c:1.6 src/sys/arch/macppc/macppc/pic_heathrow.c:1.7
--- src/sys/arch/macppc/macppc/pic_heathrow.c:1.6 Sun Jun 19 07:59:47 2011
+++ src/sys/arch/macppc/macppc/pic_heathrow.c Thu Jul 7 01:26:37 2011
@@ -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;
Index: src/sys/arch/macppc/macppc/pic_ohare.c
diff -u src/sys/arch/macppc/macppc/pic_ohare.c:1.9 src/sys/arch/macppc/macppc/pic_ohare.c:1.10
--- src/sys/arch/macppc/macppc/pic_ohare.c:1.9 Sun Jun 19 07:59:47 2011
+++ src/sys/arch/macppc/macppc/pic_ohare.c Thu Jul 7 01:26:37 2011
@@ -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;