diff --git a/sys/arch/powerpc/powerpc/subyte.c b/sys/arch/powerpc/powerpc/subyte.c index df71a0cdbac9..3f448059ecfb 100644 --- a/sys/arch/powerpc/powerpc/subyte.c +++ b/sys/arch/powerpc/powerpc/subyte.c @@ -1,4 +1,4 @@ -/* $NetBSD: subyte.c,v 1.1 1996/09/30 16:34:54 ws Exp $ */ +/* $NetBSD: subyte.c,v 1.2 2000/06/09 14:05:47 kleink Exp $ */ /*- * Copyright (C) 1993 Wolfgang Solfrank. @@ -31,13 +31,16 @@ * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#include + /* * Emulate subyte. */ + int subyte(addr,c) -char *addr; -unsigned char c; + void *addr; + unsigned char c; { if (copyout(&c,addr,sizeof(c))) return -1; diff --git a/sys/arch/powerpc/powerpc/suswintr.c b/sys/arch/powerpc/powerpc/suswintr.c index 87066604db87..2f91768f6789 100644 --- a/sys/arch/powerpc/powerpc/suswintr.c +++ b/sys/arch/powerpc/powerpc/suswintr.c @@ -1,4 +1,4 @@ -/* $NetBSD: suswintr.c,v 1.1 1996/09/30 16:34:54 ws Exp $ */ +/* $NetBSD: suswintr.c,v 1.2 2000/06/09 14:05:48 kleink Exp $ */ /*- * Copyright (C) 1994 Wolfgang Solfrank. @@ -31,6 +31,8 @@ * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#include + /* * Emulate suswintr * @@ -38,8 +40,8 @@ */ int suswintr(addr,s) - char *addr; - unsigned short s; + void *addr; + short s; { return -1; } diff --git a/sys/arch/powerpc/powerpc/suword.c b/sys/arch/powerpc/powerpc/suword.c index a4ba796d61a4..4141e54c2576 100644 --- a/sys/arch/powerpc/powerpc/suword.c +++ b/sys/arch/powerpc/powerpc/suword.c @@ -1,4 +1,4 @@ -/* $NetBSD: suword.c,v 1.1 1996/09/30 16:34:55 ws Exp $ */ +/* $NetBSD: suword.c,v 1.2 2000/06/09 14:05:49 kleink Exp $ */ /*- * Copyright (C) 1993 Wolfgang Solfrank. @@ -31,13 +31,15 @@ * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#include + /* * Emulate suword */ int suword(addr,l) -char *addr; -unsigned long l; + void *addr; + long l; { if (copyout(&l,addr,sizeof(l))) return -1;