diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2002-03-14 01:27:20 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2002-03-14 01:27:20 +0000 |
commit | 8327d0774703553db5e1a41a04bfdf4b1797c2ce (patch) | |
tree | ac9a52bace179e17769651fb9f805070d78abe5f /sys/arch/sparc64/fpu | |
parent | 7b2c79b5895287d37f0c4e3adfc396eb7a6c03fb (diff) |
First round of __P removal in sys
Diffstat (limited to 'sys/arch/sparc64/fpu')
-rw-r--r-- | sys/arch/sparc64/fpu/fpu.c | 38 | ||||
-rw-r--r-- | sys/arch/sparc64/fpu/fpu_extern.h | 50 | ||||
-rw-r--r-- | sys/arch/sparc64/fpu/fpu_implode.c | 6 |
3 files changed, 47 insertions, 47 deletions
diff --git a/sys/arch/sparc64/fpu/fpu.c b/sys/arch/sparc64/fpu/fpu.c index e12465598de..10e80a57c7d 100644 --- a/sys/arch/sparc64/fpu/fpu.c +++ b/sys/arch/sparc64/fpu/fpu.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fpu.c,v 1.4 2001/09/15 23:42:36 jason Exp $ */ +/* $OpenBSD: fpu.c,v 1.5 2002/03/14 01:26:45 millert Exp $ */ /* $NetBSD: fpu.c,v 1.11 2000/12/06 01:47:50 mrg Exp $ */ /* @@ -89,24 +89,24 @@ #include <sparc64/fpu/fpu_emu.h> #include <sparc64/fpu/fpu_extern.h> -int fpu_regoffset __P((int, int)); -int fpu_insn_fmov __P((struct fpstate64 *, struct fpemu *, union instr)); -int fpu_insn_fabs __P((struct fpstate64 *, struct fpemu *, union instr)); -int fpu_insn_fneg __P((struct fpstate64 *, struct fpemu *, union instr)); -int fpu_insn_itof __P((struct fpemu *, union instr, int, int *, - int *, u_int *)); -int fpu_insn_ftoi __P((struct fpemu *, union instr, int *, int, u_int *)); -int fpu_insn_ftof __P((struct fpemu *, union instr, int *, int *, u_int *)); -int fpu_insn_fsqrt __P((struct fpemu *, union instr, int *, int *, u_int *)); -int fpu_insn_fcmp __P((struct fpstate64 *, struct fpemu *, union instr, int)); -int fpu_insn_fmul __P((struct fpemu *, union instr, int *, int *, u_int *)); -int fpu_insn_fmulx __P((struct fpemu *, union instr, int *, int *, u_int *)); -int fpu_insn_fdiv __P((struct fpemu *, union instr, int *, int *, u_int *)); -int fpu_insn_fadd __P((struct fpemu *, union instr, int *, int *, u_int *)); -int fpu_insn_fsub __P((struct fpemu *, union instr, int *, int *, u_int *)); -int fpu_insn_fmovcc __P((struct fpstate64 *, union instr)); -int fpu_insn_fmovr __P((struct fpstate64 *, union instr)); -void fpu_fcopy __P((u_int *, u_int *, int)); +int fpu_regoffset(int, int); +int fpu_insn_fmov(struct fpstate64 *, struct fpemu *, union instr); +int fpu_insn_fabs(struct fpstate64 *, struct fpemu *, union instr); +int fpu_insn_fneg(struct fpstate64 *, struct fpemu *, union instr); +int fpu_insn_itof(struct fpemu *, union instr, int, int *, + int *, u_int *); +int fpu_insn_ftoi(struct fpemu *, union instr, int *, int, u_int *); +int fpu_insn_ftof(struct fpemu *, union instr, int *, int *, u_int *); +int fpu_insn_fsqrt(struct fpemu *, union instr, int *, int *, u_int *); +int fpu_insn_fcmp(struct fpstate64 *, struct fpemu *, union instr, int); +int fpu_insn_fmul(struct fpemu *, union instr, int *, int *, u_int *); +int fpu_insn_fmulx(struct fpemu *, union instr, int *, int *, u_int *); +int fpu_insn_fdiv(struct fpemu *, union instr, int *, int *, u_int *); +int fpu_insn_fadd(struct fpemu *, union instr, int *, int *, u_int *); +int fpu_insn_fsub(struct fpemu *, union instr, int *, int *, u_int *); +int fpu_insn_fmovcc(struct fpstate64 *, union instr); +int fpu_insn_fmovr(struct fpstate64 *, union instr); +void fpu_fcopy(u_int *, u_int *, int); #ifdef DEBUG int fpe_debug = 0; diff --git a/sys/arch/sparc64/fpu/fpu_extern.h b/sys/arch/sparc64/fpu/fpu_extern.h index ca3ffa375fd..5df6c8c0d6b 100644 --- a/sys/arch/sparc64/fpu/fpu_extern.h +++ b/sys/arch/sparc64/fpu/fpu_extern.h @@ -1,4 +1,4 @@ -/* $OpenBSD: fpu_extern.h,v 1.2 2001/09/09 22:44:44 jason Exp $ */ +/* $OpenBSD: fpu_extern.h,v 1.3 2002/03/14 01:26:45 millert Exp $ */ /* $NetBSD: fpu_extern.h,v 1.4 2000/08/03 18:32:08 eeh Exp $ */ /*- @@ -51,49 +51,49 @@ struct fpn; /* fpu.c */ #ifndef SUN4U -void fpu_cleanup __P((struct proc *, struct fpstate *)); -int fpu_emulate __P((struct proc *, struct trapframe *, struct fpstate *)); +void fpu_cleanup(struct proc *, struct fpstate *); +int fpu_emulate(struct proc *, struct trapframe *, struct fpstate *); #else /* SUN4U */ -void fpu_cleanup __P((struct proc *, struct fpstate64 *)); -int fpu_emulate __P((struct proc *, struct trapframe64 *, struct fpstate64 *)); +void fpu_cleanup(struct proc *, struct fpstate64 *); +int fpu_emulate(struct proc *, struct trapframe64 *, struct fpstate64 *); #endif /* SUN4U */ -int fpu_execute __P((struct fpemu *, union instr)); +int fpu_execute(struct fpemu *, union instr); /* fpu_add.c */ -struct fpn *fpu_add __P((struct fpemu *)); +struct fpn *fpu_add(struct fpemu *); /* fpu_compare.c */ -void fpu_compare __P((struct fpemu *, int)); +void fpu_compare(struct fpemu *, int); /* fpu_div.c */ -struct fpn *fpu_div __P((struct fpemu *)); +struct fpn *fpu_div(struct fpemu *); /* fpu_explode.c */ -int fpu_itof __P((struct fpn *, u_int)); +int fpu_itof(struct fpn *, u_int); #ifdef SUN4U -int fpu_xtof __P((struct fpn *, u_int64_t)); +int fpu_xtof(struct fpn *, u_int64_t); #endif /* SUN4U */ -int fpu_stof __P((struct fpn *, u_int)); -int fpu_dtof __P((struct fpn *, u_int, u_int )); -int fpu_qtof __P((struct fpn *, u_int, u_int , u_int , u_int )); -void fpu_explode __P((struct fpemu *, struct fpn *, int, int )); +int fpu_stof(struct fpn *, u_int); +int fpu_dtof(struct fpn *, u_int, u_int ); +int fpu_qtof(struct fpn *, u_int, u_int , u_int , u_int ); +void fpu_explode(struct fpemu *, struct fpn *, int, int ); /* fpu_implode.c */ -u_int fpu_ftoi __P((struct fpemu *, struct fpn *)); +u_int fpu_ftoi(struct fpemu *, struct fpn *); #ifdef SUN4U -u_int fpu_ftox __P((struct fpemu *, struct fpn *, u_int *)); +u_int fpu_ftox(struct fpemu *, struct fpn *, u_int *); #endif /* SUN4U */ -u_int fpu_ftos __P((struct fpemu *, struct fpn *)); -u_int fpu_ftod __P((struct fpemu *, struct fpn *, u_int *)); -u_int fpu_ftoq __P((struct fpemu *, struct fpn *, u_int *)); +u_int fpu_ftos(struct fpemu *, struct fpn *); +u_int fpu_ftod(struct fpemu *, struct fpn *, u_int *); +u_int fpu_ftoq(struct fpemu *, struct fpn *, u_int *); /* fpu_mul.c */ -struct fpn *fpu_mul __P((struct fpemu *)); +struct fpn *fpu_mul(struct fpemu *); /* fpu_sqrt.c */ -struct fpn *fpu_sqrt __P((struct fpemu *)); +struct fpn *fpu_sqrt(struct fpemu *); /* fpu_subr.c */ -int fpu_shr __P((register struct fpn *, register int)); -void fpu_norm __P((register struct fpn *)); -struct fpn *fpu_newnan __P((register struct fpemu *)); +int fpu_shr(register struct fpn *, register int); +void fpu_norm(register struct fpn *); +struct fpn *fpu_newnan(register struct fpemu *); diff --git a/sys/arch/sparc64/fpu/fpu_implode.c b/sys/arch/sparc64/fpu/fpu_implode.c index 4ca1187b361..d81ffbd688b 100644 --- a/sys/arch/sparc64/fpu/fpu_implode.c +++ b/sys/arch/sparc64/fpu/fpu_implode.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fpu_implode.c,v 1.3 2001/09/10 16:05:17 jason Exp $ */ +/* $OpenBSD: fpu_implode.c,v 1.4 2002/03/14 01:26:45 millert Exp $ */ /* $NetBSD: fpu_implode.c,v 1.7 2000/08/03 18:32:08 eeh Exp $ */ /* @@ -61,8 +61,8 @@ #include <sparc64/fpu/fpu_emu.h> #include <sparc64/fpu/fpu_extern.h> -static int round __P((register struct fpemu *, register struct fpn *)); -static int toinf __P((struct fpemu *, int)); +static int round(register struct fpemu *, register struct fpn *); +static int toinf(struct fpemu *, int); /* * Round a number (algorithm from Motorola MC68882 manual, modified for |