summaryrefslogtreecommitdiffstats
path: root/lib/libc/sparc64
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-03-21 22:49:10 +0000
committerobrien <obrien@FreeBSD.org>2002-03-21 22:49:10 +0000
commit3b73ce2319e249cf2795cf4b0d0c624134f01e77 (patch)
tree8e16a65843d0b07cf60b7fb748e2ac4890d6f1fd /lib/libc/sparc64
parent5da7065f3d4fe05102865926b09192cffa03a251 (diff)
downloadFreeBSD-src-3b73ce2319e249cf2795cf4b0d0c624134f01e77.zip
FreeBSD-src-3b73ce2319e249cf2795cf4b0d0c624134f01e77.tar.gz
Remove __P() usage.
Diffstat (limited to 'lib/libc/sparc64')
-rw-r--r--lib/libc/sparc64/fpu/fpu_extern.h44
-rw-r--r--lib/libc/sparc64/fpu/fpu_implode.c4
2 files changed, 24 insertions, 24 deletions
diff --git a/lib/libc/sparc64/fpu/fpu_extern.h b/lib/libc/sparc64/fpu/fpu_extern.h
index 862ca59..4f9de88 100644
--- a/lib/libc/sparc64/fpu/fpu_extern.h
+++ b/lib/libc/sparc64/fpu/fpu_extern.h
@@ -49,39 +49,39 @@ struct fpemu;
struct fpn;
/* fpu.c */
-void __fpu_exception __P((struct utrapframe *tf));
-void __fpu_panic __P((char *msg));
+void __fpu_exception(struct utrapframe *tf);
+void __fpu_panic(char *msg);
/* 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, int));
+void __fpu_compare(struct fpemu *, int, 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_xtof __P((struct fpn *, u_int64_t));
-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_itof(struct fpn *, u_int);
+int __fpu_xtof(struct fpn *, u_int64_t);
+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_ftox __P((struct fpemu *, struct fpn *, u_int *));
-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 *));
-void __fpu_implode __P((struct fpemu *, struct fpn *, int, u_int *));
+u_int __fpu_ftoi(struct fpemu *, struct fpn *);
+u_int __fpu_ftox(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 *);
+void __fpu_implode(struct fpemu *, struct fpn *, int, 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 */
/*
@@ -89,9 +89,9 @@ struct fpn *__fpu_sqrt __P((struct fpemu *));
* Note that the result is probably not a well-formed number (it will lack
* the normal 1-bit mant[0]&FP_1).
*/
-int __fpu_shr __P((register struct fpn *, register int));
-void __fpu_norm __P((register struct fpn *));
+int __fpu_shr(register struct fpn *, register int);
+void __fpu_norm(register struct fpn *);
/* Build a new Quiet NaN (sign=0, frac=all 1's). */
-struct fpn *__fpu_newnan __P((register struct fpemu *));
+struct fpn *__fpu_newnan(register struct fpemu *);
#endif /* !_SPARC64_FPU_FPU_EXTERN_H_ */
diff --git a/lib/libc/sparc64/fpu/fpu_implode.c b/lib/libc/sparc64/fpu/fpu_implode.c
index 207fa63..cb7b206 100644
--- a/lib/libc/sparc64/fpu/fpu_implode.c
+++ b/lib/libc/sparc64/fpu/fpu_implode.c
@@ -62,8 +62,8 @@
#include "fpu_emu.h"
#include "fpu_extern.h"
-static int round __P((struct fpemu *, struct fpn *));
-static int toinf __P((struct fpemu *, int));
+static int round(struct fpemu *, struct fpn *);
+static int toinf(struct fpemu *, int);
/*
* Round a number (algorithm from Motorola MC68882 manual, modified for
OpenPOWER on IntegriCloud