diff options
author | 2005-02-13 03:37:14 +0000 | |
---|---|---|
committer | 2005-02-13 03:37:14 +0000 | |
commit | 85e3b77d5703c0a54d64055eb48935d19090fc30 (patch) | |
tree | ed70d4fac16117ff6272a1f8f67a94bbbf946627 | |
parent | Discourage use of the source tree as root by eliminating cdpath in (diff) | |
download | wireguard-openbsd-85e3b77d5703c0a54d64055eb48935d19090fc30.tar.xz wireguard-openbsd-85e3b77d5703c0a54d64055eb48935d19090fc30.zip |
Remove __P usage in sys that has crept back in.
'Looks fine' millert@, ok miod@
-rw-r--r-- | sys/arch/amd64/include/i82489var.h | 14 | ||||
-rw-r--r-- | sys/arch/hp300/include/bus.h | 6 | ||||
-rw-r--r-- | sys/dev/pci/if_sandrv.c | 6 | ||||
-rw-r--r-- | sys/lib/libkern/qdivrem.c | 4 |
4 files changed, 15 insertions, 15 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) \ diff --git a/sys/dev/pci/if_sandrv.c b/sys/dev/pci/if_sandrv.c index 9d4b6f67cbe..3b03c3c0f44 100644 --- a/sys/dev/pci/if_sandrv.c +++ b/sys/dev/pci/if_sandrv.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_sandrv.c,v 1.6 2004/12/07 06:10:24 mcbride Exp $ */ +/* $OpenBSD: if_sandrv.c,v 1.7 2005/02/13 03:37:14 jsg Exp $ */ /*- * Copyright (c) 2001-2004 Sangoma Technologies (SAN) @@ -186,8 +186,8 @@ static sdlahw_t* sdla_aft_hw_select (sdlahw_card_t *, int, int, static void sdla_save_hw_probe (sdlahw_t*, int); /* SDLA PCI device relative entry point */ -int san_match __P((struct device *, void *, void *)); -void san_attach __P((struct device *, struct device *, void *)); +int san_match(struct device *, void *, void *); +void san_attach(struct device *, struct device *, void *); struct cfdriver san_cd = { diff --git a/sys/lib/libkern/qdivrem.c b/sys/lib/libkern/qdivrem.c index 646bc285cbd..25cab635277 100644 --- a/sys/lib/libkern/qdivrem.c +++ b/sys/lib/libkern/qdivrem.c @@ -32,7 +32,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: qdivrem.c,v 1.7 2004/11/28 07:23:41 mickey Exp $"; +static char rcsid[] = "$OpenBSD: qdivrem.c,v 1.8 2005/02/13 03:37:14 jsg Exp $"; #endif /* LIBC_SCCS and not lint */ /* @@ -54,7 +54,7 @@ typedef unsigned short digit; typedef u_int digit; #endif -static void shl __P((digit *p, int len, int sh)); +static void shl(digit *p, int len, int sh); /* * __qdivrem(u, v, rem) returns u/v and, optionally, sets *rem to u%v. |