summaryrefslogtreecommitdiff
path: root/sys/arch/sun3/stand
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/sun3/stand')
-rw-r--r--sys/arch/sun3/stand/bootxx/bootxx.c4
-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
-rw-r--r--sys/arch/sun3/stand/netboot/dev_net.c4
-rw-r--r--sys/arch/sun3/stand/tapeboot/dev_tape.c4
8 files changed, 21 insertions, 21 deletions
diff --git a/sys/arch/sun3/stand/bootxx/bootxx.c b/sys/arch/sun3/stand/bootxx/bootxx.c
index aaf27d402bb..2b4730d2181 100644
--- a/sys/arch/sun3/stand/bootxx/bootxx.c
+++ b/sys/arch/sun3/stand/bootxx/bootxx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bootxx.c,v 1.2 2001/07/04 08:33:44 niklas Exp $ */
+/* $OpenBSD: bootxx.c,v 1.3 2002/03/14 03:16:01 millert Exp $ */
/* $NetBSD: bootxx.c,v 1.5 1995/10/13 21:44:57 gwr Exp $ */
/*
@@ -83,7 +83,7 @@ main()
exit();
}
- addr = (char*)LOADADDR;
+ addr = (char *)LOADADDR;
error = copyboot(&f, addr);
f.f_dev->dv_close(&f);
if (!error) {
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)));
}
diff --git a/sys/arch/sun3/stand/netboot/dev_net.c b/sys/arch/sun3/stand/netboot/dev_net.c
index 9925ba93b2c..5ec01f5d031 100644
--- a/sys/arch/sun3/stand/netboot/dev_net.c
+++ b/sys/arch/sun3/stand/netboot/dev_net.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dev_net.c,v 1.4 2001/07/04 08:33:54 niklas Exp $ */
+/* $OpenBSD: dev_net.c,v 1.5 2002/03/14 03:16:01 millert Exp $ */
/* $NetBSD: dev_net.c,v 1.4 1996/01/29 23:54:15 gwr Exp $ */
/*
@@ -105,7 +105,7 @@ net_open(struct open_file *f, ...)
int error = 0;
va_start(ap, f);
- devname = va_arg(ap, char*);
+ devname = va_arg(ap, char *);
va_end(ap);
#ifdef NETIF_DEBUG
diff --git a/sys/arch/sun3/stand/tapeboot/dev_tape.c b/sys/arch/sun3/stand/tapeboot/dev_tape.c
index 54a8f24c428..962ebba7418 100644
--- a/sys/arch/sun3/stand/tapeboot/dev_tape.c
+++ b/sys/arch/sun3/stand/tapeboot/dev_tape.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dev_tape.c,v 1.3 2001/07/04 08:33:56 niklas Exp $ */
+/* $OpenBSD: dev_tape.c,v 1.4 2002/03/14 03:16:01 millert Exp $ */
/* $NetBSD: dev_tape.c,v 1.2 1995/10/17 22:58:20 gwr Exp $ */
/*
@@ -70,7 +70,7 @@ devopen(f, fname, file)
struct devsw *dp;
int error;
- *file = (char*)fname;
+ *file = (char *)fname;
dp = &devsw[0];
f->f_dev = dp;