summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k/include
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/include
parent71eb96ce8a9190e7ffeccbabd7a5ec4f3b4fc72f (diff)
Final __P removal plus some cosmetic fixups
Diffstat (limited to 'sys/arch/mvme88k/include')
-rw-r--r--sys/arch/mvme88k/include/ansi.h4
-rw-r--r--sys/arch/mvme88k/include/db_machdep.h9
-rw-r--r--sys/arch/mvme88k/include/trap.h8
3 files changed, 10 insertions, 11 deletions
diff --git a/sys/arch/mvme88k/include/ansi.h b/sys/arch/mvme88k/include/ansi.h
index b613ff06231..f5371e77b29 100644
--- a/sys/arch/mvme88k/include/ansi.h
+++ b/sys/arch/mvme88k/include/ansi.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ansi.h,v 1.11 2001/08/11 23:51:28 miod Exp $ */
+/* $OpenBSD: ansi.h,v 1.12 2002/03/14 03:15:57 millert Exp $ */
/*-
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
@@ -55,7 +55,7 @@
#define _BSD_TIMER_T_ int
#if 0
-#define _BSD_VA_LIST_ char* /* va_list */
+#define _BSD_VA_LIST_ char * /* va_list */
#endif
#include "va-m88k.h"
diff --git a/sys/arch/mvme88k/include/db_machdep.h b/sys/arch/mvme88k/include/db_machdep.h
index 0cb1ce46d6f..1ae049ebddf 100644
--- a/sys/arch/mvme88k/include/db_machdep.h
+++ b/sys/arch/mvme88k/include/db_machdep.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_machdep.h,v 1.20 2002/03/14 01:26:39 millert Exp $ */
+/* $OpenBSD: db_machdep.h,v 1.21 2002/03/14 03:15:57 millert Exp $ */
/*
* Mach Operating System
* Copyright (c) 1993-1991 Carnegie Mellon University
@@ -120,9 +120,8 @@ unsigned inst_load(unsigned);
unsigned inst_store(unsigned);
boolean_t inst_branch(unsigned);
db_addr_t next_instr_address(db_addr_t, unsigned);
-db_addr_t branch_taken __P((u_int, db_addr_t,
- db_expr_t (*)(db_regs_t *, int),
- db_regs_t *));
+db_addr_t branch_taken(u_int, db_addr_t, db_expr_t (*)(db_regs_t *, int),
+ db_regs_t *);
int ddb_break_trap(int type, db_regs_t *eframe);
int ddb_entry_trap(int level, db_regs_t *eframe);
@@ -152,7 +151,7 @@ void db_clear_single_step(register db_regs_t *);
#define DB_ACCESS_LEVEL DB_ACCESS_ANY
-#define DB_VALID_KERN_ADDR(addr) (!badaddr((void*)(addr), 1))
+#define DB_VALID_KERN_ADDR(addr) (!badaddr((void *)(addr), 1))
#define DB_VALID_ADDRESS(addr,user) \
(user ? db_check_user_addr(addr) : DB_VALID_KERN_ADDR(addr))
diff --git a/sys/arch/mvme88k/include/trap.h b/sys/arch/mvme88k/include/trap.h
index 702375ca1ad..b51392cee68 100644
--- a/sys/arch/mvme88k/include/trap.h
+++ b/sys/arch/mvme88k/include/trap.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: trap.h,v 1.16 2002/03/14 01:26:39 millert Exp $ */
+/* $OpenBSD: trap.h,v 1.17 2002/03/14 03:15:57 millert Exp $ */
/*
* Mach Operating System
* Copyright (c) 1992 Carnegie Mellon University
@@ -79,9 +79,9 @@ void error_fault(struct m88100_saved_state *);
void error_reset(struct m88100_saved_state *);
unsigned ss_get_value(struct proc *, unsigned, int);
int ss_put_value(struct proc *, unsigned, unsigned, int);
-unsigned ss_branch_taken __P((unsigned, unsigned,
- unsigned (*func)(unsigned int, struct trapframe *),
- struct trapframe *)); /* 'opaque' */
+unsigned ss_branch_taken(unsigned, unsigned,
+ unsigned (*func)(unsigned int, struct trapframe *),
+ struct trapframe *); /* 'opaque' */
unsigned ss_getreg_val(unsigned, struct trapframe *);
int ss_inst_branch(unsigned);
int ss_inst_delayed(unsigned);