summaryrefslogtreecommitdiff
path: root/sys/arch/powerpc
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2001-07-09 01:14:02 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2001-07-09 01:14:02 +0000
commit440dc67aafdcc23fd3c53d18be472b1fada3ba03 (patch)
tree86ceb6da54eadb2273d6af9936aada169eb91f8b /sys/arch/powerpc
parent0ed8ae0dffa5cc68ffc6d5aab632bdec368c209d (diff)
missing includes and spaces
Diffstat (limited to 'sys/arch/powerpc')
-rw-r--r--sys/arch/powerpc/powerpc/subyte.c6
-rw-r--r--sys/arch/powerpc/powerpc/suword.c9
2 files changed, 9 insertions, 6 deletions
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 <sys/param.h>
+#include <sys/systm.h>
+
/*
* Emulate suword
*/
int
suword(addr,l)
-char *addr;
-unsigned long l;
+ char *addr;
+ long l;
{
if (copyout(&l,addr,sizeof(l)))
return -1;