summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2005-02-13 03:37:15 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2005-02-13 03:37:15 +0000
commit3fcbb5382e8d46c13e4ab5adb01da6ad75c6a227 (patch)
treeb73a1c047c9704cdcac89e0438922e63920ef29b /sys/arch
parentaf6b1bdfb55ad62be32eac3e36a007e267e892e3 (diff)
Remove __P usage in sys that has crept back in.
'Looks fine' millert@, ok miod@
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/amd64/include/i82489var.h14
-rw-r--r--sys/arch/hp300/include/bus.h6
2 files changed, 10 insertions, 10 deletions
diff --git a/sys/arch/amd64/include/i82489var.h b/sys/arch/amd64/include/i82489var.h
index 22fdcb2edc5..ebcf439f2df 100644
--- a/sys/arch/amd64/include/i82489var.h
+++ b/sys/arch/amd64/include/i82489var.h
@@ -43,8 +43,8 @@
* Software definitions belonging to Local APIC driver.
*/
-static __inline__ u_int32_t i82489_readreg __P((int));
-static __inline__ void i82489_writereg __P((int, u_int32_t));
+static __inline__ u_int32_t i82489_readreg(int);
+static __inline__ void i82489_writereg(int, u_int32_t);
#ifdef _KERNEL
extern volatile u_int32_t local_apic[];
@@ -113,10 +113,10 @@ extern void Xintr_lapic5(void);
struct cpu_info;
-extern void lapic_boot_init __P((paddr_t));
-extern void lapic_set_lvt __P((void));
-extern void lapic_enable __P((void));
-extern void lapic_calibrate_timer __P((struct cpu_info *ci));
-extern void lapic_initclocks __P((void));
+extern void lapic_boot_init(paddr_t);
+extern void lapic_set_lvt(void);
+extern void lapic_enable(void);
+extern void lapic_calibrate_timer(struct cpu_info *ci);
+extern void lapic_initclocks(void);
#endif
diff --git a/sys/arch/hp300/include/bus.h b/sys/arch/hp300/include/bus.h
index 328f2e10330..6c9bfa256fc 100644
--- a/sys/arch/hp300/include/bus.h
+++ b/sys/arch/hp300/include/bus.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bus.h,v 1.1 2005/01/14 22:39:29 miod Exp $ */
+/* $OpenBSD: bus.h,v 1.2 2005/02/13 03:37:14 jsg Exp $ */
/* $NetBSD: bus.h,v 1.6 2001/12/02 01:20:33 gmcgarry Exp $ */
/*-
@@ -392,10 +392,10 @@ int hp300_bus_space_probe(bus_space_tag_t t,
#define __HP300_copy_region_N(BYTES) \
static __inline void __CONCAT(bus_space_copy_region_,BYTES) \
- __P((bus_space_tag_t, \
+ (bus_space_tag_t, \
bus_space_handle_t bsh1, bus_size_t off1, \
bus_space_handle_t bsh2, bus_size_t off2, \
- bus_size_t count)); \
+ bus_size_t count); \
\
static __inline void \
__CONCAT(bus_space_copy_region_,BYTES)(t, h1, o1, h2, o2, c) \