From ad973f26511a129bde2bd5186e91cbe6ba420733 Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Mon, 9 Jul 2001 01:21:31 +0000 Subject: missing includes, fix functions --- sys/arch/powerpc/powerpc/suswintr.c | 9 ++++++--- sys/arch/powerpc/powerpc/sys_machdep.c | 4 +++- 2 files changed, 9 insertions(+), 4 deletions(-) (limited to 'sys/arch') 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 +#include + /* * 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 +#include +#include int sys_sysarch(p, v, retval) -- cgit v1.2.3