From 440dc67aafdcc23fd3c53d18be472b1fada3ba03 Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Mon, 9 Jul 2001 01:14:02 +0000 Subject: missing includes and spaces --- sys/arch/powerpc/powerpc/subyte.c | 6 +++--- sys/arch/powerpc/powerpc/suword.c | 9 ++++++--- 2 files changed, 9 insertions(+), 6 deletions(-) (limited to 'sys/arch/powerpc') diff --git a/sys/arch/powerpc/powerpc/subyte.c b/sys/arch/powerpc/powerpc/subyte.c index 3e9452e8f0b..43b0cef8373 100644 --- a/sys/arch/powerpc/powerpc/subyte.c +++ b/sys/arch/powerpc/powerpc/subyte.c @@ -1,4 +1,4 @@ -/* $OpenBSD: subyte.c,v 1.3 2001/07/01 04:34:24 drahn Exp $ */ +/* $OpenBSD: subyte.c,v 1.4 2001/07/09 01:14:01 mickey Exp $ */ /* $NetBSD: subyte.c,v 1.1 1996/09/30 16:34:54 ws Exp $ */ /*- @@ -40,8 +40,8 @@ */ int subyte(addr,c) -void *addr; -unsigned char c; + void *addr; + unsigned char c; { if (copyout(&c,addr,sizeof(c))) return -1; diff --git a/sys/arch/powerpc/powerpc/suword.c b/sys/arch/powerpc/powerpc/suword.c index 26611fe7f01..1477ce4bf0a 100644 --- a/sys/arch/powerpc/powerpc/suword.c +++ b/sys/arch/powerpc/powerpc/suword.c @@ -1,4 +1,4 @@ -/* $OpenBSD: suword.c,v 1.2 1996/12/28 06:22:22 rahnds Exp $ */ +/* $OpenBSD: suword.c,v 1.3 2001/07/09 01:14:01 mickey Exp $ */ /* $NetBSD: suword.c,v 1.1 1996/09/30 16:34:55 ws Exp $ */ /*- @@ -32,13 +32,16 @@ * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#include +#include + /* * Emulate suword */ int suword(addr,l) -char *addr; -unsigned long l; + char *addr; + long l; { if (copyout(&l,addr,sizeof(l))) return -1; -- cgit v1.2.3