summaryrefslogtreecommitdiff
path: root/sys/arch/i386/stand
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/i386/stand
parent71eb96ce8a9190e7ffeccbabd7a5ec4f3b4fc72f (diff)
Final __P removal plus some cosmetic fixups
Diffstat (limited to 'sys/arch/i386/stand')
-rw-r--r--sys/arch/i386/stand/libsa/biosdev.c8
-rw-r--r--sys/arch/i386/stand/libsa/biosdev.h4
-rw-r--r--sys/arch/i386/stand/libsa/cmd_i386.c6
-rw-r--r--sys/arch/i386/stand/libsa/debug.c4
4 files changed, 11 insertions, 11 deletions
diff --git a/sys/arch/i386/stand/libsa/biosdev.c b/sys/arch/i386/stand/libsa/biosdev.c
index db3090fb752..46f7faa2ccb 100644
--- a/sys/arch/i386/stand/libsa/biosdev.c
+++ b/sys/arch/i386/stand/libsa/biosdev.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: biosdev.c,v 1.53 2002/03/14 01:26:34 millert Exp $ */
+/* $OpenBSD: biosdev.c,v 1.54 2002/03/14 03:15:54 millert Exp $ */
/*
* Copyright (c) 1996 Michael Shalayeff
@@ -178,7 +178,7 @@ static __inline int
biosd_rw(rw, dev, cyl, head, sect, nsect, buf)
int rw, dev, cyl, head;
int sect, nsect;
- void* buf;
+ void * buf;
{
int rv;
BIOS_regs.biosr_es = (u_int32_t)buf >> 4;
@@ -229,7 +229,7 @@ int
biosd_io(rw, dev, cyl, head, sect, nsect, buf)
int rw, dev, cyl, head;
int sect, nsect;
- void* buf;
+ void * buf;
{
int j, error;
void *bb;
@@ -454,7 +454,7 @@ biosopen(struct open_file *f, ...)
/* Try for disklabel again (might be removable media) */
if(dip->bios_info.flags & BDI_BADLABEL){
- const char *st = bios_getdisklabel((void*)biosdev, &dip->disklabel);
+ const char *st = bios_getdisklabel((void *)biosdev, &dip->disklabel);
if (debug && st)
printf("%s\n", st);
diff --git a/sys/arch/i386/stand/libsa/biosdev.h b/sys/arch/i386/stand/libsa/biosdev.h
index 675d17c11cc..156519f2bb7 100644
--- a/sys/arch/i386/stand/libsa/biosdev.h
+++ b/sys/arch/i386/stand/libsa/biosdev.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: biosdev.h,v 1.26 2002/03/14 01:26:34 millert Exp $ */
+/* $OpenBSD: biosdev.h,v 1.27 2002/03/14 03:15:54 millert Exp $ */
/*
* Copyright (c) 1996 Michael Shalayeff
@@ -42,7 +42,7 @@ int biosopen(struct open_file *, ...);
int biosclose(struct open_file *);
int biosioctl(struct open_file *, u_long, void *);
int bios_getdiskinfo(int, bios_diskinfo_t *);
-int biosd_io(int, int, int, int, int, int, void*);
+int biosd_io(int, int, int, int, int, int, void *);
const char * bios_getdisklabel(bios_diskinfo_t *, struct disklabel *);
/* diskprobe.c */
diff --git a/sys/arch/i386/stand/libsa/cmd_i386.c b/sys/arch/i386/stand/libsa/cmd_i386.c
index 70c7bb1774e..f0de0e8c9ce 100644
--- a/sys/arch/i386/stand/libsa/cmd_i386.c
+++ b/sys/arch/i386/stand/libsa/cmd_i386.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd_i386.c,v 1.23 2002/03/14 01:26:34 millert Exp $ */
+/* $OpenBSD: cmd_i386.c,v 1.24 2002/03/14 03:15:54 millert Exp $ */
/*
* Copyright (c) 1997-1999 Michael Shalayeff
@@ -52,7 +52,7 @@ int Xmemory(void);
int Xregs(void);
/* From gidt.S */
-int bootbuf(void*, int);
+int bootbuf(void *, int);
const struct cmd_table cmd_machine[] = {
{ "boot", CMDT_CMD, Xboot },
@@ -87,7 +87,7 @@ Xboot()
{
#ifndef _TEST
int dev, part, st;
- char buf[DEV_BSIZE], *dest = (void*)BOOTBIOS_ADDR;
+ char buf[DEV_BSIZE], *dest = (void *)BOOTBIOS_ADDR;
if(cmd.argc != 2) {
printf("machine boot {fd,hd}<0123>[abcd]\n");
diff --git a/sys/arch/i386/stand/libsa/debug.c b/sys/arch/i386/stand/libsa/debug.c
index d2374fea76a..5e06dd86bfb 100644
--- a/sys/arch/i386/stand/libsa/debug.c
+++ b/sys/arch/i386/stand/libsa/debug.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: debug.c,v 1.8 2002/03/14 01:26:34 millert Exp $ */
+/* $OpenBSD: debug.c,v 1.9 2002/03/14 03:15:54 millert Exp $ */
/*
* Copyright (c) 1997 Michael Shalayeff
@@ -83,7 +83,7 @@ dump_regs(trapno, arg)
((i%4)? ' ': '\n'));
dump_mem("Code dump", (void *)*reg_values[8], 8);
- /* %ebx (void*)((*reg_values[3] + 15) & ~0x0F) */
+ /* %ebx (void *)((*reg_values[3] + 15) & ~0x0F) */
dump_mem("Memory dump", (void *)0x1a000, 48);
dump_mem("Stack trace", (void *)(*reg_values[4]), 48);