summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2001-07-09 01:21:31 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2001-07-09 01:21:31 +0000
commitad973f26511a129bde2bd5186e91cbe6ba420733 (patch)
tree7a92b6284e792b23518164a24c1261d373510fda
parentd28f005c1728b2c82112bc25d3ff31790316f56b (diff)
missing includes, fix functions
-rw-r--r--sys/arch/powerpc/powerpc/suswintr.c9
-rw-r--r--sys/arch/powerpc/powerpc/sys_machdep.c4
2 files changed, 9 insertions, 4 deletions
diff --git a/sys/arch/powerpc/powerpc/suswintr.c b/sys/arch/powerpc/powerpc/suswintr.c
index d6a2bcd2fd8..bf1e2be08a7 100644
--- a/sys/arch/powerpc/powerpc/suswintr.c
+++ b/sys/arch/powerpc/powerpc/suswintr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: suswintr.c,v 1.2 1996/12/28 06:22:21 rahnds Exp $ */
+/* $OpenBSD: suswintr.c,v 1.3 2001/07/09 01:21:30 mickey Exp $ */
/* $NetBSD: suswintr.c,v 1.1 1996/09/30 16:34:54 ws Exp $ */
/*-
@@ -32,6 +32,9 @@
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include <sys/types.h>
+#include <sys/systm.h>
+
/*
* Emulate suswintr
*
@@ -39,8 +42,8 @@
*/
int
suswintr(addr,s)
- char *addr;
- unsigned short s;
+ caddr_t addr;
+ u_int s;
{
return -1;
}
diff --git a/sys/arch/powerpc/powerpc/sys_machdep.c b/sys/arch/powerpc/powerpc/sys_machdep.c
index ffad9220623..1e1727c557b 100644
--- a/sys/arch/powerpc/powerpc/sys_machdep.c
+++ b/sys/arch/powerpc/powerpc/sys_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sys_machdep.c,v 1.2 1996/12/28 06:22:25 rahnds Exp $ */
+/* $OpenBSD: sys_machdep.c,v 1.3 2001/07/09 01:21:30 mickey Exp $ */
/* $NetBSD: sys_machdep.c,v 1.1 1996/09/30 16:34:56 ws Exp $ */
/*
@@ -33,6 +33,8 @@
*/
#include <sys/param.h>
+#include <sys/mount.h>
+#include <sys/syscallargs.h>
int
sys_sysarch(p, v, retval)