From 8327d0774703553db5e1a41a04bfdf4b1797c2ce Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Thu, 14 Mar 2002 01:27:20 +0000 Subject: First round of __P removal in sys --- sys/arch/i386/isa/npx.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'sys/arch/i386/isa/npx.c') diff --git a/sys/arch/i386/isa/npx.c b/sys/arch/i386/isa/npx.c index ff321001a9c..a976ea241b1 100644 --- a/sys/arch/i386/isa/npx.c +++ b/sys/arch/i386/isa/npx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: npx.c,v 1.24 2002/02/18 07:58:39 ericj Exp $ */ +/* $OpenBSD: npx.c,v 1.25 2002/03/14 01:26:33 millert Exp $ */ /* $NetBSD: npx.c,v 1.57 1996/05/12 23:12:24 mycroft Exp $ */ #if 0 @@ -105,19 +105,19 @@ #define clts() __asm("clts") #define stts() lcr0(rcr0() | CR0_TS) -int npxdna __P((struct proc *)); -void npxexit __P((void)); -int npxintr __P((void *)); -static int npxprobe1 __P((struct isa_attach_args *)); -static void npxsave1 __P((void)); +int npxdna(struct proc *); +void npxexit(void); +int npxintr(void *); +static int npxprobe1(struct isa_attach_args *); +static void npxsave1(void); struct npx_softc { struct device sc_dev; void *sc_ih; }; -int npxprobe __P((struct device *, void *, void *)); -void npxattach __P((struct device *, struct device *, void *)); +int npxprobe(struct device *, void *, void *); +void npxattach(struct device *, struct device *, void *); struct cfattach npx_ca = { sizeof(struct npx_softc), npxprobe, npxattach @@ -150,7 +150,7 @@ extern int i386_fpu_fdivbug; * interrupts. We'll still need a special exception 16 handler. The busy * latch stuff in probintr() can be moved to npxprobe(). */ -void probeintr __P((void)); +void probeintr(void); asm (".text\n\t" "_probeintr:\n\t" "ss\n\t" @@ -164,7 +164,7 @@ asm (".text\n\t" "popl %eax\n\t" "iret\n\t"); -void probetrap __P((void)); +void probetrap(void); asm (".text\n\t" "_probetrap:\n\t" "ss\n\t" @@ -305,7 +305,7 @@ npxprobe(parent, match, aux) return (result); } -int npx586bug1 __P((int, int)); +int npx586bug1(int, int); asm (".text\n\t" "_npx586bug1:\n\t" "fildl 4(%esp) # x\n\t" -- cgit v1.2.3