summaryrefslogtreecommitdiff
path: root/sys/arch/sun3/stand/libsa
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-03-14 03:16:15 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-03-14 03:16:15 +0000
commite63dc855fe4ff1aa0029ebf9813134860a34ccdf (patch)
treec2aa960c67a99a878c8902943399029fa598683f /sys/arch/sun3/stand/libsa
parent71eb96ce8a9190e7ffeccbabd7a5ec4f3b4fc72f (diff)
Final __P removal plus some cosmetic fixups
Diffstat (limited to 'sys/arch/sun3/stand/libsa')
-rw-r--r--sys/arch/sun3/stand/libsa/devopen.c4
-rw-r--r--sys/arch/sun3/stand/libsa/dvma.c4
-rw-r--r--sys/arch/sun3/stand/libsa/exec_sun.c10
-rw-r--r--sys/arch/sun3/stand/libsa/netif_sun.c6
-rw-r--r--sys/arch/sun3/stand/libsa/promdev.c6
5 files changed, 15 insertions, 15 deletions
diff --git a/sys/arch/sun3/stand/libsa/devopen.c b/sys/arch/sun3/stand/libsa/devopen.c
index 8be8dacb97b..902bf855548 100644
--- a/sys/arch/sun3/stand/libsa/devopen.c
+++ b/sys/arch/sun3/stand/libsa/devopen.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: devopen.c,v 1.3 2001/07/04 08:33:48 niklas Exp $ */
+/* $OpenBSD: devopen.c,v 1.4 2002/03/14 03:16:01 millert Exp $ */
#include <sys/param.h>
@@ -25,7 +25,7 @@ devopen(f, fname, file)
struct devsw *dp;
int error;
- *file = (char*)fname;
+ *file = (char *)fname;
dp = &devsw[0];
f->f_dev = dp;
error = (*dp->dv_open)(f, prom_bootdev);
diff --git a/sys/arch/sun3/stand/libsa/dvma.c b/sys/arch/sun3/stand/libsa/dvma.c
index f92b3b17c17..0117a2ecaea 100644
--- a/sys/arch/sun3/stand/libsa/dvma.c
+++ b/sys/arch/sun3/stand/libsa/dvma.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dvma.c,v 1.5 2002/03/14 01:26:47 millert Exp $ */
+/* $OpenBSD: dvma.c,v 1.6 2002/03/14 03:16:01 millert Exp $ */
/* $NetBSD: dvma.c,v 1.6 1996/01/31 17:20:39 gwr Exp $ */
/*
@@ -111,7 +111,7 @@ dvma_alloc(int len)
{
len = m68k_round_page(len);
dvma_end -= len;
- return((char*)dvma_end);
+ return((char *)dvma_end);
}
void
diff --git a/sys/arch/sun3/stand/libsa/exec_sun.c b/sys/arch/sun3/stand/libsa/exec_sun.c
index ca7e72f51b5..bbefb121854 100644
--- a/sys/arch/sun3/stand/libsa/exec_sun.c
+++ b/sys/arch/sun3/stand/libsa/exec_sun.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: exec_sun.c,v 1.4 2001/07/04 08:33:49 niklas Exp $ */
+/* $OpenBSD: exec_sun.c,v 1.5 2002/03/14 03:16:01 millert Exp $ */
/* $NetBSD: exec_sun.c,v 1.6 1996/06/20 03:59:41 gwr Exp $ */
/*-
@@ -128,9 +128,9 @@ exec_sun(file, loadaddr)
*cp++ = 0;
--cc;
}
- ip = (int*)cp;
+ ip = (int *)cp;
cp += cc;
- while ((char*)ip < cp)
+ while ((char *)ip < cp)
*ip++ = 0;
/*
@@ -138,7 +138,7 @@ exec_sun(file, loadaddr)
* (Always set the symtab size word.)
*/
*ip++ = x.a_syms;
- cp = (char*) ip;
+ cp = (char *) ip;
if (x.a_syms > 0) {
@@ -149,7 +149,7 @@ exec_sun(file, loadaddr)
if (read(io, cp, cc) != cc)
goto shread;
cp += x.a_syms;
- ip = (int*)cp; /* points to strtab length */
+ ip = (int *)cp; /* points to strtab length */
cp += sizeof(int);
/* String table. Length word includes itself. */
diff --git a/sys/arch/sun3/stand/libsa/netif_sun.c b/sys/arch/sun3/stand/libsa/netif_sun.c
index 7b447035acf..27735093c00 100644
--- a/sys/arch/sun3/stand/libsa/netif_sun.c
+++ b/sys/arch/sun3/stand/libsa/netif_sun.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: netif_sun.c,v 1.6 2002/03/14 01:26:47 millert Exp $ */
+/* $OpenBSD: netif_sun.c,v 1.7 2002/03/14 03:16:01 millert Exp $ */
/* $NetBSD: netif_sun.c,v 1.4 1996/01/29 23:41:07 gwr Exp $ */
/*
@@ -92,8 +92,8 @@ sun3_getether(ea)
int len, x;
if (sun3_idprom.idp_format == 0) {
- dst = (char*)&sun3_idprom;
- src = (char*)IDPROM_BASE;
+ dst = (char *)&sun3_idprom;
+ src = (char *)IDPROM_BASE;
len = IDPROM_SIZE;
do {
x = get_control_byte(src++);
diff --git a/sys/arch/sun3/stand/libsa/promdev.c b/sys/arch/sun3/stand/libsa/promdev.c
index e585af44173..934e8546caa 100644
--- a/sys/arch/sun3/stand/libsa/promdev.c
+++ b/sys/arch/sun3/stand/libsa/promdev.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: promdev.c,v 1.7 2002/03/14 01:26:47 millert Exp $ */
+/* $OpenBSD: promdev.c,v 1.8 2002/03/14 03:16:01 millert Exp $ */
/* $NetBSD: promdev.c,v 1.7 1996/01/29 23:41:10 gwr Exp $ */
/*
@@ -107,7 +107,7 @@ prom_iopen(si)
size = dip->d_dmabytes + NBPG;
addr = (int) dvma_alloc(size);
addr = m68k_round_page(addr);
- si->si_dmaaddr = (char*) addr;
+ si->si_dmaaddr = (char *) addr;
#ifdef DEBUG_PROM
if (debug)
printf("prom_iopen: dmaaddr=0x%x\n", si->si_dmaaddr);
@@ -222,5 +222,5 @@ found:
pte += 1;
length -= NBPG;
} while (length > 0);
- return ((char*)(prom_devmap | (pa & PGOFSET)));
+ return ((char *)(prom_devmap | (pa & PGOFSET)));
}