diff options
Diffstat (limited to 'sys/arch/sun3')
-rw-r--r-- | sys/arch/sun3/dev/cg2.c | 6 | ||||
-rw-r--r-- | sys/arch/sun3/dev/idprom.c | 6 | ||||
-rw-r--r-- | sys/arch/sun3/dev/kd.c | 4 | ||||
-rw-r--r-- | sys/arch/sun3/dev/si.c | 4 | ||||
-rw-r--r-- | sys/arch/sun3/include/machdep.h | 4 | ||||
-rw-r--r-- | sys/arch/sun3/include/mon.h | 14 | ||||
-rw-r--r-- | sys/arch/sun3/stand/bootxx/bootxx.c | 4 | ||||
-rw-r--r-- | sys/arch/sun3/stand/libsa/devopen.c | 4 | ||||
-rw-r--r-- | sys/arch/sun3/stand/libsa/dvma.c | 4 | ||||
-rw-r--r-- | sys/arch/sun3/stand/libsa/exec_sun.c | 10 | ||||
-rw-r--r-- | sys/arch/sun3/stand/libsa/netif_sun.c | 6 | ||||
-rw-r--r-- | sys/arch/sun3/stand/libsa/promdev.c | 6 | ||||
-rw-r--r-- | sys/arch/sun3/stand/netboot/dev_net.c | 4 | ||||
-rw-r--r-- | sys/arch/sun3/stand/tapeboot/dev_tape.c | 4 | ||||
-rw-r--r-- | sys/arch/sun3/sun3/autoconf.c | 4 | ||||
-rw-r--r-- | sys/arch/sun3/sun3/clock.c | 8 | ||||
-rw-r--r-- | sys/arch/sun3/sun3/db_memrw.c | 14 | ||||
-rw-r--r-- | sys/arch/sun3/sun3/isr.c | 4 | ||||
-rw-r--r-- | sys/arch/sun3/sun3/machdep.c | 6 | ||||
-rw-r--r-- | sys/arch/sun3/sun3/sun3_startup.c | 6 | ||||
-rw-r--r-- | sys/arch/sun3/sun3/vector.c | 6 | ||||
-rw-r--r-- | sys/arch/sun3/sun3/vm_machdep.c | 4 |
22 files changed, 66 insertions, 66 deletions
diff --git a/sys/arch/sun3/dev/cg2.c b/sys/arch/sun3/dev/cg2.c index 17aca349433..5422ac1fe7e 100644 --- a/sys/arch/sun3/dev/cg2.c +++ b/sys/arch/sun3/dev/cg2.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cg2.c,v 1.10 2002/03/14 01:26:46 millert Exp $ */ +/* $OpenBSD: cg2.c,v 1.11 2002/03/14 03:16:01 millert Exp $ */ /* $NetBSD: cg2.c,v 1.7 1996/10/13 03:47:26 christos Exp $ */ /* @@ -118,7 +118,7 @@ static struct fbdriver cg2fbdriver = { cg2getcmap, cg2putcmap }; -static int cg2intr(void*); +static int cg2intr(void *); /* * Match a cg2. @@ -166,7 +166,7 @@ cg2attach(parent, self, args) sc->sc_ctlreg = (struct cg2fb *) bus_mapin(ca->ca_bustype, ca->ca_paddr + CTLREGS_OFF, CTLREGS_SIZE); - isr_add_vectored(cg2intr, (void*)sc, + isr_add_vectored(cg2intr, (void *)sc, ca->ca_intpri, ca->ca_intvec); /* diff --git a/sys/arch/sun3/dev/idprom.c b/sys/arch/sun3/dev/idprom.c index f0939215305..894f76e52f8 100644 --- a/sys/arch/sun3/dev/idprom.c +++ b/sys/arch/sun3/dev/idprom.c @@ -1,4 +1,4 @@ -/* $OpenBSD: idprom.c,v 1.6 1997/01/16 04:03:46 kstailey Exp $ */ +/* $OpenBSD: idprom.c,v 1.7 2002/03/14 03:16:01 millert Exp $ */ /* $NetBSD: idprom.c,v 1.13 1996/11/20 18:56:50 gwr Exp $ */ /*- @@ -115,8 +115,8 @@ idprom_init() } hid; idp = &identity_prom; - dst = (char*)idp; - src = (char*)IDPROM_BASE; + dst = (char *)idp; + src = (char *)IDPROM_BASE; len = IDPROM_SIZE; xorsum = 0; /* calculated as xor of data */ diff --git a/sys/arch/sun3/dev/kd.c b/sys/arch/sun3/dev/kd.c index d7c19c50d14..48add94c541 100644 --- a/sys/arch/sun3/dev/kd.c +++ b/sys/arch/sun3/dev/kd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kd.c,v 1.10 2001/08/20 19:34:40 miod Exp $ */ +/* $OpenBSD: kd.c,v 1.11 2002/03/14 03:16:01 millert Exp $ */ /* $NetBSD: kd.c,v 1.21 1996/11/20 18:56:55 gwr Exp $ */ /*- @@ -276,7 +276,7 @@ kdstop(tp, flag) return (0); } -static void kd_later(void*); +static void kd_later(void *); static void kd_putfb(struct tty *); static struct timeout kd_timeout; diff --git a/sys/arch/sun3/dev/si.c b/sys/arch/sun3/dev/si.c index 8e7b3796708..e1a8defb238 100644 --- a/sys/arch/sun3/dev/si.c +++ b/sys/arch/sun3/dev/si.c @@ -1,4 +1,4 @@ -/* $OpenBSD: si.c,v 1.15 2002/03/14 01:26:46 millert Exp $ */ +/* $OpenBSD: si.c,v 1.16 2002/03/14 03:16:01 millert Exp $ */ /* $NetBSD: si.c,v 1.31 1996/11/20 18:56:59 gwr Exp $ */ /*- @@ -382,7 +382,7 @@ found: dh = &sc->sc_dma[i]; dh->dh_flags = SIDH_BUSY; - dh->dh_addr = (u_char*) addr; + dh->dh_addr = (u_char *) addr; dh->dh_maplen = xlen; dh->dh_dvma = 0; diff --git a/sys/arch/sun3/include/machdep.h b/sys/arch/sun3/include/machdep.h index da3f744ed42..a3f33ee2576 100644 --- a/sys/arch/sun3/include/machdep.h +++ b/sys/arch/sun3/include/machdep.h @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.h,v 1.17 2002/03/14 01:26:46 millert Exp $ */ +/* $OpenBSD: machdep.h,v 1.18 2002/03/14 03:16:01 millert Exp $ */ /* * Copyright (c) 1994 Gordon W. Ross @@ -96,7 +96,7 @@ int fpu_emulate(struct frame *, struct fpframe *); /* Backward compatibility... */ #define getsr _getsr -void** getvbr(void); +void **getvbr(void); vm_offset_t high_segment_alloc(int npages); diff --git a/sys/arch/sun3/include/mon.h b/sys/arch/sun3/include/mon.h index bb1dcc2f69f..1164cca88cd 100644 --- a/sys/arch/sun3/include/mon.h +++ b/sys/arch/sun3/include/mon.h @@ -1,4 +1,4 @@ -/* $OpenBSD: mon.h,v 1.6 2002/03/14 01:26:46 millert Exp $ */ +/* $OpenBSD: mon.h,v 1.7 2002/03/14 03:16:01 millert Exp $ */ /* $NetBSD: mon.h,v 1.19 1996/11/20 18:57:12 gwr Exp $ */ /*- @@ -134,7 +134,7 @@ typedef struct { */ int (*getKey)(void); /* Get next key if one exists */ - int (*initGetKey)(void*); /* Initialize get key */ + int (*initGetKey)(void *); /* Initialize get key */ u_int *translation; /* Kbd translation selector (see keyboard.h in sun monitor code) */ @@ -197,8 +197,8 @@ typedef struct { * Non-maskable interrupt (nmi) information */ - int (*nmiAddr)(void*); /* Addr for level 7 vector */ - int (*abortEntry)(void*); /* Entry for keyboard abort */ + int (*nmiAddr)(void *); /* Addr for level 7 vector */ + int (*abortEntry)(void *); /* Entry for keyboard abort */ int *nmiClock; /* Counts up in msec */ /* @@ -221,10 +221,10 @@ typedef struct { long *resetAddr; /* where to jump on a reset */ long *resetMap; /* pgmap entry for resetaddr */ /* Really struct pgmapent * */ - int (*exitToMon)(void); /* Exit from user program */ + int (*exitToMon)(void); /* Exit from user program */ u_char **memorybitmap; /* V1: &{0 or &bits} */ - void (*setcxsegmap)(int,int,int); /* Set seg in any context */ - void (**vector_cmd)(int, char*); /* V2: Handler for 'v' cmd */ + void (*setcxsegmap)(int,int,int); /* Set seg in any context */ + void (**vector_cmd)(int, char *); /* V2: Handler for 'v' cmd */ int dummy1z; int dummy2z; int dummy3z; 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; diff --git a/sys/arch/sun3/sun3/autoconf.c b/sys/arch/sun3/sun3/autoconf.c index 98316a8e94d..74424336be8 100644 --- a/sys/arch/sun3/sun3/autoconf.c +++ b/sys/arch/sun3/sun3/autoconf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: autoconf.c,v 1.21 2002/03/14 01:26:47 millert Exp $ */ +/* $OpenBSD: autoconf.c,v 1.22 2002/03/14 03:16:01 millert Exp $ */ /* $NetBSD: autoconf.c,v 1.37 1996/11/20 18:57:22 gwr Exp $ */ /*- @@ -291,7 +291,7 @@ bus_mapin(bustype, paddr, sz) #endif pmap_update(pmap_kernel()); - return ((char*)retval); + return ((char *)retval); } /* from hp300: badaddr() */ diff --git a/sys/arch/sun3/sun3/clock.c b/sys/arch/sun3/sun3/clock.c index 85bf6ff7586..952da438fb8 100644 --- a/sys/arch/sun3/sun3/clock.c +++ b/sys/arch/sun3/sun3/clock.c @@ -1,4 +1,4 @@ -/* $OpenBSD: clock.c,v 1.10 2002/03/14 01:26:47 millert Exp $ */ +/* $OpenBSD: clock.c,v 1.11 2002/03/14 03:16:01 millert Exp $ */ /* $NetBSD: clock.c,v 1.31 1996/10/30 00:24:42 gwr Exp $ */ /* @@ -425,7 +425,7 @@ clk_get_dt(dt) dt++; /* end marker */ do { *dst++ = *src++; - } while (dst < (char*)dt); + } while (dst < (char *)dt); intersil_clock->clk_cmd_reg = intersil_command(INTERSIL_CMD_RUN, INTERSIL_CMD_IENABLE); @@ -605,9 +605,9 @@ clkdebug() long gmt; long *lp; - bzero((char*)&dt, sizeof(dt)); + bzero((char *)&dt, sizeof(dt)); clk_get_dt(&dt); - lp = (long*)&dt; + lp = (long *)&dt; printf("clkdebug: dt=[%x,%x]\n", lp[0], lp[1]); dt_to_gmt(&dt, &gmt); diff --git a/sys/arch/sun3/sun3/db_memrw.c b/sys/arch/sun3/sun3/db_memrw.c index 886af8e81f3..9f3006760b2 100644 --- a/sys/arch/sun3/sun3/db_memrw.c +++ b/sys/arch/sun3/sun3/db_memrw.c @@ -1,4 +1,4 @@ -/* $OpenBSD: db_memrw.c,v 1.10 2002/03/14 01:26:47 millert Exp $ */ +/* $OpenBSD: db_memrw.c,v 1.11 2002/03/14 03:16:01 millert Exp $ */ /* $NetBSD: db_memrw.c,v 1.13 1996/11/20 18:57:28 gwr Exp $ */ /*- @@ -80,15 +80,15 @@ db_read_bytes(addr, size, data) register size_t size; register char *data; { - register char *src = (char*)addr; + register char *src = (char *)addr; if (size == 4) { - *((int*)data) = *((int*)src); + *((int *)data) = *((int *)src); return; } if (size == 2) { - *((short*)data) = *((short*)src); + *((short *)data) = *((short *)src); return; } @@ -116,7 +116,7 @@ db_write_text(addr, size, data) if (size <= 0) return; - dst = (char*)addr; + dst = (char *)addr; pgva = trunc_page((long)dst); goto firstpage; @@ -188,12 +188,12 @@ db_write_bytes(addr, size, data) } if (size == 4) { - *((int*)dst) = *((int*)data); + *((int *)dst) = *((int *)data); return; } if (size == 2) { - *((short*)dst) = *((short*)data); + *((short *)dst) = *((short *)data); return; } diff --git a/sys/arch/sun3/sun3/isr.c b/sys/arch/sun3/sun3/isr.c index e651d78ae2d..062e6ddc527 100644 --- a/sys/arch/sun3/sun3/isr.c +++ b/sys/arch/sun3/sun3/isr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: isr.c,v 1.16 2002/03/14 01:26:47 millert Exp $ */ +/* $OpenBSD: isr.c,v 1.17 2002/03/14 03:16:01 millert Exp $ */ /* $NetBSD: isr.c,v 1.25 1996/11/20 18:57:32 gwr Exp $ */ /*- @@ -69,7 +69,7 @@ struct isr { int isr_ipl; }; -void set_vector_entry __P((int, void (*handler)(void))); +void set_vector_entry(int, void (*handler)(void)); unsigned int get_vector_entry(int); void isr_autovec(int); diff --git a/sys/arch/sun3/sun3/machdep.c b/sys/arch/sun3/sun3/machdep.c index 0932cdd5cb9..68eef454519 100644 --- a/sys/arch/sun3/sun3/machdep.c +++ b/sys/arch/sun3/sun3/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.52 2002/03/14 01:26:47 millert Exp $ */ +/* $OpenBSD: machdep.c,v 1.53 2002/03/14 03:16:01 millert Exp $ */ /* $NetBSD: machdep.c,v 1.77 1996/10/13 03:47:51 christos Exp $ */ /* @@ -770,7 +770,7 @@ dumpsys() do { if ((todo & 0xf) == 0) printf("\r%4d", todo); - vaddr = (char*)(paddr + KERNBASE); + vaddr = (char *)(paddr + KERNBASE); error = (*dsw->d_dump)(dumpdev, blkno, vaddr, NBPG); if (error) goto fail; @@ -780,7 +780,7 @@ dumpsys() } while (--chunk > 0); /* Do the second chunk (avail_start <= PA < dumpsize) */ - vaddr = (char*)vmmap; /* Borrow /dev/mem VA */ + vaddr = (char *)vmmap; /* Borrow /dev/mem VA */ do { if ((todo & 0xf) == 0) printf("\r%4d", todo); diff --git a/sys/arch/sun3/sun3/sun3_startup.c b/sys/arch/sun3/sun3/sun3_startup.c index 7975deb4a13..7009a8af0bd 100644 --- a/sys/arch/sun3/sun3/sun3_startup.c +++ b/sys/arch/sun3/sun3/sun3_startup.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sun3_startup.c,v 1.21 2002/03/14 01:26:47 millert Exp $ */ +/* $OpenBSD: sun3_startup.c,v 1.22 2002/03/14 03:16:01 millert Exp $ */ /* $NetBSD: sun3_startup.c,v 1.55 1996/11/20 18:57:38 gwr Exp $ */ /*- @@ -331,7 +331,7 @@ sun3_save_symtab(kehp) /* Check the symtab length word. */ endp = end; - symsz = (int*)endp; + symsz = (int *)endp; if (kehp->a_syms != *symsz) { errdesc = "a_syms"; goto err; @@ -340,7 +340,7 @@ sun3_save_symtab(kehp) endp += *symsz; /* past nlist array */ /* Check the string table length. */ - strsz = (int*)endp; + strsz = (int *)endp; if ((*strsz < 4) || (*strsz > 0x80000)) { errdesc = "strsize"; goto err; diff --git a/sys/arch/sun3/sun3/vector.c b/sys/arch/sun3/sun3/vector.c index d100b60c432..c228451aec5 100644 --- a/sys/arch/sun3/sun3/vector.c +++ b/sys/arch/sun3/sun3/vector.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vector.c,v 1.8 2002/03/14 01:26:47 millert Exp $ */ +/* $OpenBSD: vector.c,v 1.9 2002/03/14 03:16:01 millert Exp $ */ /* $NetBSD: vector.c,v 1.15 1996/11/20 18:57:40 gwr Exp $ */ /*- @@ -60,8 +60,8 @@ #define fpunfl fpfault void (*vector_table[NVECTORS])(void) = { - (void*)0xfffe000, /* 0: NOT USED (reset SP) */ - (void*)0xfef0000, /* 1: NOT USED (reset PC) */ + (void *)0xfffe000, /* 0: NOT USED (reset SP) */ + (void *)0xfef0000, /* 1: NOT USED (reset PC) */ buserr, /* 2: bus error */ addrerr, /* 3: address error */ illinst, /* 4: illegal instruction */ diff --git a/sys/arch/sun3/sun3/vm_machdep.c b/sys/arch/sun3/sun3/vm_machdep.c index b9ae489831a..a51681625f3 100644 --- a/sys/arch/sun3/sun3/vm_machdep.c +++ b/sys/arch/sun3/sun3/vm_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vm_machdep.c,v 1.22 2001/12/08 02:24:07 art Exp $ */ +/* $OpenBSD: vm_machdep.c,v 1.23 2002/03/14 03:16:01 millert Exp $ */ /* $NetBSD: vm_machdep.c,v 1.35 1996/04/26 18:38:06 gwr Exp $ */ /* @@ -119,7 +119,7 @@ cpu_fork(p1, p2, stack, stacksize, func, arg) * Leave one word unused at the end of the kernel stack * so the system stack pointer stays within its stack. */ - p2tf = (struct trapframe *)((char*)p2->p_addr + USPACE-4) - 1; + p2tf = (struct trapframe *)((char *)p2->p_addr + USPACE-4) - 1; p2->p_md.md_regs = (int *)p2tf; bcopy(p1->p_md.md_regs, p2tf, sizeof(*p2tf)); |