summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k/dev/vx.c
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/mvme88k/dev/vx.c
parent71eb96ce8a9190e7ffeccbabd7a5ec4f3b4fc72f (diff)
Final __P removal plus some cosmetic fixups
Diffstat (limited to 'sys/arch/mvme88k/dev/vx.c')
-rw-r--r--sys/arch/mvme88k/dev/vx.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/arch/mvme88k/dev/vx.c b/sys/arch/mvme88k/dev/vx.c
index 4b3ace157c8..a14c22f3c47 100644
--- a/sys/arch/mvme88k/dev/vx.c
+++ b/sys/arch/mvme88k/dev/vx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vx.c,v 1.18 2002/03/14 01:26:39 millert Exp $ */
+/* $OpenBSD: vx.c,v 1.19 2002/03/14 03:15:57 millert Exp $ */
/*
* Copyright (c) 1999 Steve Murphree, Jr.
* All rights reserved.
@@ -1312,8 +1312,8 @@ memcpy2(void *dest, const void *src, size_t size)
{
int i;
short *d, *s;
- d = (short*) dest;
- s = (short*) src;
+ d = (short *) dest;
+ s = (short *) src;
for (i=0; i<(size/2); i++) {
*d = *s;
d++;
@@ -1326,7 +1326,7 @@ wzero(void *addr, size_t size)
{
int i;
short *d;
- d = (short*) addr;
+ d = (short *) addr;
for (i=0; i<(size/2); i++) {
*d = 0;
d++;
@@ -1395,7 +1395,7 @@ put_free_envelope(sc, ep)
sc->elist_tail = envp;
}
-void*
+void *
get_free_packet(sc)
struct vxsoftc *sc;
{
@@ -1591,7 +1591,7 @@ get_packet(sc, thisenv)
* offset to the board address
*/
baseaddr |= thisenv->packet_ptr;
- return ((void*)baseaddr);
+ return ((void *)baseaddr);
}
/*