diff options
author | peter <peter@FreeBSD.org> | 2002-06-29 02:32:34 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2002-06-29 02:32:34 +0000 |
commit | b6009897cf0e1d7540d078548f19215d4ce3f3cb (patch) | |
tree | 3b85de9139b191e7e01edd6e7fffe13d3ad22af7 | |
parent | 97873dcbf33019727d6c29b9a62702011576b3b2 (diff) | |
download | FreeBSD-src-b6009897cf0e1d7540d078548f19215d4ce3f3cb.zip FreeBSD-src-b6009897cf0e1d7540d078548f19215d4ce3f3cb.tar.gz |
Remove a couple of __P() stragglers.
-rw-r--r-- | sys/amd64/isa/intr_machdep.h | 2 | ||||
-rw-r--r-- | sys/boot/alpha/boot1/boot1.c | 2 | ||||
-rw-r--r-- | sys/boot/alpha/libalpha/common.h | 12 | ||||
-rw-r--r-- | sys/ddb/db_elf.c | 2 | ||||
-rw-r--r-- | sys/dev/sio/sio_ebus.c | 6 | ||||
-rw-r--r-- | sys/dev/ti/if_ti.c | 4 | ||||
-rw-r--r-- | sys/i386/isa/intr_machdep.h | 2 | ||||
-rw-r--r-- | sys/pci/if_ti.c | 4 | ||||
-rw-r--r-- | sys/sparc64/include/profile.h | 8 |
9 files changed, 21 insertions, 21 deletions
diff --git a/sys/amd64/isa/intr_machdep.h b/sys/amd64/isa/intr_machdep.h index d24de27..41542d0 100644 --- a/sys/amd64/isa/intr_machdep.h +++ b/sys/amd64/isa/intr_machdep.h @@ -140,7 +140,7 @@ * Type of the first (asm) part of an interrupt handler. */ typedef void inthand_t(u_int cs, u_int ef, u_int esp, u_int ss); -typedef void unpendhand_t __P((void)); +typedef void unpendhand_t(void); #define IDTVEC(name) __CONCAT(X,name) diff --git a/sys/boot/alpha/boot1/boot1.c b/sys/boot/alpha/boot1/boot1.c index 0864b31..f25b717 100644 --- a/sys/boot/alpha/boot1/boot1.c +++ b/sys/boot/alpha/boot1/boot1.c @@ -253,7 +253,7 @@ main() char *name = "/boot/loader"; char *p; char filename[512]; - void (*entry) __P((void)); + void (*entry)(void); u_long start, freq; int i; diff --git a/sys/boot/alpha/libalpha/common.h b/sys/boot/alpha/libalpha/common.h index ff18476..7ae5830 100644 --- a/sys/boot/alpha/libalpha/common.h +++ b/sys/boot/alpha/libalpha/common.h @@ -3,9 +3,9 @@ * From: $NetBSD: common.h,v 1.2 1998/01/05 07:02:48 perry Exp $ */ -int prom_open __P((char*, int)); -void OSFpal __P((void)); -void halt __P((void)); -u_int64_t prom_dispatch __P((int, ...)); -int cpu_number __P((void)); -void switch_palcode __P((void)); +int prom_open(char*, int); +void OSFpal(void); +void halt(void); +u_int64_t prom_dispatch(int, ...); +int cpu_number(void); +void switch_palcode(void); diff --git a/sys/ddb/db_elf.c b/sys/ddb/db_elf.c index 97e97ca..792a759 100644 --- a/sys/ddb/db_elf.c +++ b/sys/ddb/db_elf.c @@ -56,7 +56,7 @@ #include <machine/elf.h> -static char *db_elf_find_strtab __P((db_symtab_t *)); +static char *db_elf_find_strtab(db_symtab_t *); #define STAB_TO_SYMSTART(stab) ((Elf_Sym *)((stab)->start)) #define STAB_TO_SYMEND(stab) ((Elf_Sym *)((stab)->end)) diff --git a/sys/dev/sio/sio_ebus.c b/sys/dev/sio/sio_ebus.c index af6bc0b..0c2e58c 100644 --- a/sys/dev/sio/sio_ebus.c +++ b/sys/dev/sio/sio_ebus.c @@ -40,9 +40,9 @@ __FBSDID($FreeBSD$); #include <ofw/openfirm.h> #include <sparc64/ebus/ebusvar.h> -int sio_ofw_inlist __P((char *name, char *list[])); -static int sio_ebus_attach __P((device_t dev)); -static int sio_ebus_probe __P((device_t dev)); +int sio_ofw_inlist(char *name, char *list[]); +static int sio_ebus_attach(device_t dev); +static int sio_ebus_probe(device_t dev); static device_method_t sio_ebus_methods[] = { /* Device interface */ diff --git a/sys/dev/ti/if_ti.c b/sys/dev/ti/if_ti.c index bc4b96e..68a0636 100644 --- a/sys/dev/ti/if_ti.c +++ b/sys/dev/ti/if_ti.c @@ -270,8 +270,8 @@ static int ti_chipinit (struct ti_softc *); static int ti_gibinit (struct ti_softc *); #ifdef TI_JUMBO_HDRSPLIT -static __inline void ti_hdr_split __P((struct mbuf *top, int hdr_len, - int pkt_len, int idx)); +static __inline void ti_hdr_split (struct mbuf *top, int hdr_len, + int pkt_len, int idx); #endif /* TI_JUMBO_HDRSPLIT */ static device_method_t ti_methods[] = { diff --git a/sys/i386/isa/intr_machdep.h b/sys/i386/isa/intr_machdep.h index d24de27..41542d0 100644 --- a/sys/i386/isa/intr_machdep.h +++ b/sys/i386/isa/intr_machdep.h @@ -140,7 +140,7 @@ * Type of the first (asm) part of an interrupt handler. */ typedef void inthand_t(u_int cs, u_int ef, u_int esp, u_int ss); -typedef void unpendhand_t __P((void)); +typedef void unpendhand_t(void); #define IDTVEC(name) __CONCAT(X,name) diff --git a/sys/pci/if_ti.c b/sys/pci/if_ti.c index bc4b96e..68a0636 100644 --- a/sys/pci/if_ti.c +++ b/sys/pci/if_ti.c @@ -270,8 +270,8 @@ static int ti_chipinit (struct ti_softc *); static int ti_gibinit (struct ti_softc *); #ifdef TI_JUMBO_HDRSPLIT -static __inline void ti_hdr_split __P((struct mbuf *top, int hdr_len, - int pkt_len, int idx)); +static __inline void ti_hdr_split (struct mbuf *top, int hdr_len, + int pkt_len, int idx); #endif /* TI_JUMBO_HDRSPLIT */ static device_method_t ti_methods[] = { diff --git a/sys/sparc64/include/profile.h b/sys/sparc64/include/profile.h index dea9011..122fc87 100644 --- a/sys/sparc64/include/profile.h +++ b/sys/sparc64/include/profile.h @@ -52,10 +52,10 @@ _mcount() \ #ifdef GUPROF struct gmonparam; -void nullfunc_loop_profiled __P((void)); -void nullfunc_profiled __P((void)); -void startguprof __P((struct gmonparam *p)); -void stopguprof __P((struct gmonparam *p)); +void nullfunc_loop_profiled(void); +void nullfunc_profiled(void); +void startguprof(struct gmonparam *p); +void stopguprof(struct gmonparam *p); #else #define startguprof(p) #define stopguprof(p) |