Module Name:    src
Committed By:   skrll
Date:           Sat Feb  4 17:03:11 UTC 2012

Modified Files:
        src/sys/arch/hppa/spmath: dfadd.c dfcmp.c dfdiv.c dfmpy.c dfrem.c
            dfsqrt.c dfsub.c divsfm.c divsfr.c divsim.c divsir.c divufr.c
            divuir.c fcnvff.c fcnvfx.c fcnvfxt.c fcnvxf.c frnd.c mpyaccs.c
            mpyaccu.c mpys.c mpyscv.c mpyu.c mpyucv.c setovfl.c sfadd.c sfcmp.c
            sfdiv.c sfmpy.c sfrem.c sfsqrt.c sfsub.c

Log Message:
-Wold-style-definition

Same code before and after.  OK riz@


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/hppa/spmath/dfadd.c \
    src/sys/arch/hppa/spmath/dfdiv.c src/sys/arch/hppa/spmath/dfmpy.c \
    src/sys/arch/hppa/spmath/dfrem.c src/sys/arch/hppa/spmath/dfsqrt.c \
    src/sys/arch/hppa/spmath/dfsub.c src/sys/arch/hppa/spmath/divsfm.c \
    src/sys/arch/hppa/spmath/divsfr.c src/sys/arch/hppa/spmath/divsim.c \
    src/sys/arch/hppa/spmath/divsir.c src/sys/arch/hppa/spmath/divufr.c \
    src/sys/arch/hppa/spmath/divuir.c src/sys/arch/hppa/spmath/fcnvfxt.c \
    src/sys/arch/hppa/spmath/frnd.c src/sys/arch/hppa/spmath/mpyaccs.c \
    src/sys/arch/hppa/spmath/mpyaccu.c src/sys/arch/hppa/spmath/mpys.c \
    src/sys/arch/hppa/spmath/mpyscv.c src/sys/arch/hppa/spmath/mpyu.c \
    src/sys/arch/hppa/spmath/mpyucv.c src/sys/arch/hppa/spmath/sfadd.c \
    src/sys/arch/hppa/spmath/sfdiv.c src/sys/arch/hppa/spmath/sfmpy.c \
    src/sys/arch/hppa/spmath/sfrem.c src/sys/arch/hppa/spmath/sfsqrt.c \
    src/sys/arch/hppa/spmath/sfsub.c
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/hppa/spmath/dfcmp.c \
    src/sys/arch/hppa/spmath/fcnvxf.c src/sys/arch/hppa/spmath/sfcmp.c
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/hppa/spmath/fcnvff.c \
    src/sys/arch/hppa/spmath/fcnvfx.c
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/hppa/spmath/setovfl.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/hppa/spmath/dfadd.c
diff -u src/sys/arch/hppa/spmath/dfadd.c:1.4 src/sys/arch/hppa/spmath/dfadd.c:1.5
--- src/sys/arch/hppa/spmath/dfadd.c:1.4	Thu Feb 22 05:46:29 2007
+++ src/sys/arch/hppa/spmath/dfadd.c	Sat Feb  4 17:03:08 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: dfadd.c,v 1.4 2007/02/22 05:46:29 thorpej Exp $	*/
+/*	$NetBSD: dfadd.c,v 1.5 2012/02/04 17:03:08 skrll Exp $	*/
 
 /*	$OpenBSD: dfadd.c,v 1.4 2001/03/29 03:58:17 mickey Exp $	*/
 
@@ -41,7 +41,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dfadd.c,v 1.4 2007/02/22 05:46:29 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dfadd.c,v 1.5 2012/02/04 17:03:08 skrll Exp $");
 
 #include "../spmath/float.h"
 #include "../spmath/dbl_float.h"
@@ -50,10 +50,9 @@ __KERNEL_RCSID(0, "$NetBSD: dfadd.c,v 1.
  * Double_add: add two double precision values.
  */
 int
-dbl_fadd(leftptr, rightptr, dstptr, status)
-    dbl_floating_point *leftptr, *rightptr, *dstptr;
-    unsigned int *status;
-    {
+dbl_fadd(dbl_floating_point *leftptr, dbl_floating_point *rightptr,
+    dbl_floating_point *dstptr, unsigned int *status)
+{
     register unsigned int signless_upper_left, signless_upper_right, save;
     register unsigned int leftp1, leftp2, rightp1, rightp2, extent;
     register unsigned int resultp1 = 0, resultp2 = 0;
Index: src/sys/arch/hppa/spmath/dfdiv.c
diff -u src/sys/arch/hppa/spmath/dfdiv.c:1.4 src/sys/arch/hppa/spmath/dfdiv.c:1.5
--- src/sys/arch/hppa/spmath/dfdiv.c:1.4	Thu Feb 22 05:46:29 2007
+++ src/sys/arch/hppa/spmath/dfdiv.c	Sat Feb  4 17:03:09 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: dfdiv.c,v 1.4 2007/02/22 05:46:29 thorpej Exp $	*/
+/*	$NetBSD: dfdiv.c,v 1.5 2012/02/04 17:03:09 skrll Exp $	*/
 
 /*	$OpenBSD: dfdiv.c,v 1.4 2001/03/29 03:58:17 mickey Exp $	*/
 
@@ -42,7 +42,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dfdiv.c,v 1.4 2007/02/22 05:46:29 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dfdiv.c,v 1.5 2012/02/04 17:03:09 skrll Exp $");
 
 #include "../spmath/float.h"
 #include "../spmath/dbl_float.h"
@@ -52,10 +52,8 @@ __KERNEL_RCSID(0, "$NetBSD: dfdiv.c,v 1.
  */
 
 int
-dbl_fdiv(srcptr1,srcptr2,dstptr,status)
-
-dbl_floating_point *srcptr1, *srcptr2, *dstptr;
-unsigned int *status;
+dbl_fdiv(dbl_floating_point *srcptr1, dbl_floating_point *srcptr2,
+    dbl_floating_point *dstptr, unsigned int *status)
 {
 	register unsigned int opnd1p1, opnd1p2, opnd2p1, opnd2p2;
 	register unsigned int opnd3p1, opnd3p2, resultp1, resultp2;
Index: src/sys/arch/hppa/spmath/dfmpy.c
diff -u src/sys/arch/hppa/spmath/dfmpy.c:1.4 src/sys/arch/hppa/spmath/dfmpy.c:1.5
--- src/sys/arch/hppa/spmath/dfmpy.c:1.4	Thu Feb 22 05:46:29 2007
+++ src/sys/arch/hppa/spmath/dfmpy.c	Sat Feb  4 17:03:09 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: dfmpy.c,v 1.4 2007/02/22 05:46:29 thorpej Exp $	*/
+/*	$NetBSD: dfmpy.c,v 1.5 2012/02/04 17:03:09 skrll Exp $	*/
 
 /*	$OpenBSD: dfmpy.c,v 1.4 2001/03/29 03:58:17 mickey Exp $	*/
 
@@ -42,7 +42,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dfmpy.c,v 1.4 2007/02/22 05:46:29 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dfmpy.c,v 1.5 2012/02/04 17:03:09 skrll Exp $");
 
 #include "../spmath/float.h"
 #include "../spmath/dbl_float.h"
@@ -52,10 +52,8 @@ __KERNEL_RCSID(0, "$NetBSD: dfmpy.c,v 1.
  */
 
 int
-dbl_fmpy(srcptr1,srcptr2,dstptr,status)
-
-dbl_floating_point *srcptr1, *srcptr2, *dstptr;
-unsigned int *status;
+dbl_fmpy(dbl_floating_point *srcptr1, dbl_floating_point *srcptr2,
+    dbl_floating_point *dstptr, unsigned int *status)
 {
 	register unsigned int opnd1p1, opnd1p2, opnd2p1, opnd2p2;
 	register unsigned int opnd3p1, opnd3p2, resultp1, resultp2;
Index: src/sys/arch/hppa/spmath/dfrem.c
diff -u src/sys/arch/hppa/spmath/dfrem.c:1.4 src/sys/arch/hppa/spmath/dfrem.c:1.5
--- src/sys/arch/hppa/spmath/dfrem.c:1.4	Thu Feb 22 05:46:29 2007
+++ src/sys/arch/hppa/spmath/dfrem.c	Sat Feb  4 17:03:09 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: dfrem.c,v 1.4 2007/02/22 05:46:29 thorpej Exp $	*/
+/*	$NetBSD: dfrem.c,v 1.5 2012/02/04 17:03:09 skrll Exp $	*/
 
 /*	$OpenBSD: dfrem.c,v 1.4 2001/03/29 03:58:17 mickey Exp $	*/
 
@@ -42,7 +42,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dfrem.c,v 1.4 2007/02/22 05:46:29 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dfrem.c,v 1.5 2012/02/04 17:03:09 skrll Exp $");
 
 #include "../spmath/float.h"
 #include "../spmath/dbl_float.h"
@@ -51,10 +51,8 @@ __KERNEL_RCSID(0, "$NetBSD: dfrem.c,v 1.
  *  Double Precision Floating-point Remainder
  */
 int
-dbl_frem(srcptr1,srcptr2,dstptr,status)
-
-dbl_floating_point *srcptr1, *srcptr2, *dstptr;
-unsigned int *status;
+dbl_frem(dbl_floating_point *srcptr1, dbl_floating_point *srcptr2,
+   dbl_floating_point *dstptr, unsigned int *status)
 {
 	register unsigned int opnd1p1, opnd1p2, opnd2p1, opnd2p2;
 	register unsigned int resultp1, resultp2;
Index: src/sys/arch/hppa/spmath/dfsqrt.c
diff -u src/sys/arch/hppa/spmath/dfsqrt.c:1.4 src/sys/arch/hppa/spmath/dfsqrt.c:1.5
--- src/sys/arch/hppa/spmath/dfsqrt.c:1.4	Thu Feb 22 05:46:29 2007
+++ src/sys/arch/hppa/spmath/dfsqrt.c	Sat Feb  4 17:03:09 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: dfsqrt.c,v 1.4 2007/02/22 05:46:29 thorpej Exp $	*/
+/*	$NetBSD: dfsqrt.c,v 1.5 2012/02/04 17:03:09 skrll Exp $	*/
 
 /*	$OpenBSD: dfsqrt.c,v 1.5 2001/03/29 03:58:17 mickey Exp $	*/
 
@@ -42,7 +42,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dfsqrt.c,v 1.4 2007/02/22 05:46:29 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dfsqrt.c,v 1.5 2012/02/04 17:03:09 skrll Exp $");
 
 #include "../spmath/float.h"
 #include "../spmath/dbl_float.h"
@@ -53,10 +53,8 @@ __KERNEL_RCSID(0, "$NetBSD: dfsqrt.c,v 1
 
 /*ARGSUSED*/
 int
-dbl_fsqrt(srcptr,dstptr,status)
-
-dbl_floating_point *srcptr, *dstptr;
-unsigned int *status;
+dbl_fsqrt(dbl_floating_point *srcptr, dbl_floating_point *dstptr,
+    unsigned int *status)
 {
 	register unsigned int srcp1, srcp2, resultp1, resultp2;
 	register unsigned int newbitp1, newbitp2, sump1, sump2;
Index: src/sys/arch/hppa/spmath/dfsub.c
diff -u src/sys/arch/hppa/spmath/dfsub.c:1.4 src/sys/arch/hppa/spmath/dfsub.c:1.5
--- src/sys/arch/hppa/spmath/dfsub.c:1.4	Thu Feb 22 05:46:29 2007
+++ src/sys/arch/hppa/spmath/dfsub.c	Sat Feb  4 17:03:09 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: dfsub.c,v 1.4 2007/02/22 05:46:29 thorpej Exp $	*/
+/*	$NetBSD: dfsub.c,v 1.5 2012/02/04 17:03:09 skrll Exp $	*/
 
 /*	$OpenBSD: dfsub.c,v 1.4 2001/03/29 03:58:17 mickey Exp $	*/
 
@@ -42,7 +42,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dfsub.c,v 1.4 2007/02/22 05:46:29 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dfsub.c,v 1.5 2012/02/04 17:03:09 skrll Exp $");
 
 #include "../spmath/float.h"
 #include "../spmath/dbl_float.h"
@@ -51,10 +51,9 @@ __KERNEL_RCSID(0, "$NetBSD: dfsub.c,v 1.
  * Double_subtract: subtract two double precision values.
  */
 int
-dbl_fsub(leftptr, rightptr, dstptr, status)
-    dbl_floating_point *leftptr, *rightptr, *dstptr;
-    unsigned int *status;
-    {
+dbl_fsub(dbl_floating_point *leftptr, dbl_floating_point *rightptr,
+    dbl_floating_point *dstptr, unsigned int *status)
+{
     register unsigned int signless_upper_left, signless_upper_right, save;
     register unsigned int leftp1, leftp2, rightp1, rightp2, extent;
     register unsigned int resultp1 = 0, resultp2 = 0;
Index: src/sys/arch/hppa/spmath/divsfm.c
diff -u src/sys/arch/hppa/spmath/divsfm.c:1.4 src/sys/arch/hppa/spmath/divsfm.c:1.5
--- src/sys/arch/hppa/spmath/divsfm.c:1.4	Thu Feb 22 05:46:29 2007
+++ src/sys/arch/hppa/spmath/divsfm.c	Sat Feb  4 17:03:09 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: divsfm.c,v 1.4 2007/02/22 05:46:29 thorpej Exp $	*/
+/*	$NetBSD: divsfm.c,v 1.5 2012/02/04 17:03:09 skrll Exp $	*/
 
 /*	$OpenBSD: divsfm.c,v 1.4 2001/03/29 03:58:17 mickey Exp $	*/
 
@@ -42,15 +42,12 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: divsfm.c,v 1.4 2007/02/22 05:46:29 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: divsfm.c,v 1.5 2012/02/04 17:03:09 skrll Exp $");
 
 #include "md.h"
 
 void
-divsfm(opnd1,opnd2,result)
-
-int opnd1, opnd2;
-struct mdsfu_register *result;
+divsfm(int opnd1, int opnd2, struct mdsfu_register *result)
 {
 	register int sign, op1_sign;
 
Index: src/sys/arch/hppa/spmath/divsfr.c
diff -u src/sys/arch/hppa/spmath/divsfr.c:1.4 src/sys/arch/hppa/spmath/divsfr.c:1.5
--- src/sys/arch/hppa/spmath/divsfr.c:1.4	Thu Feb 22 05:46:29 2007
+++ src/sys/arch/hppa/spmath/divsfr.c	Sat Feb  4 17:03:09 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: divsfr.c,v 1.4 2007/02/22 05:46:29 thorpej Exp $	*/
+/*	$NetBSD: divsfr.c,v 1.5 2012/02/04 17:03:09 skrll Exp $	*/
 
 /*	$OpenBSD: divsfr.c,v 1.4 2001/03/29 03:58:18 mickey Exp $	*/
 
@@ -42,15 +42,12 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: divsfr.c,v 1.4 2007/02/22 05:46:29 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: divsfr.c,v 1.5 2012/02/04 17:03:09 skrll Exp $");
 
 #include "md.h"
 
 void
-divsfr(opnd1,opnd2,result)
-
-int opnd1, opnd2;
-struct mdsfu_register *result;
+divsfr(int opnd1, int opnd2, struct mdsfu_register *result)
 {
 	int sign, op1_sign;
 
Index: src/sys/arch/hppa/spmath/divsim.c
diff -u src/sys/arch/hppa/spmath/divsim.c:1.4 src/sys/arch/hppa/spmath/divsim.c:1.5
--- src/sys/arch/hppa/spmath/divsim.c:1.4	Thu Feb 22 05:46:29 2007
+++ src/sys/arch/hppa/spmath/divsim.c	Sat Feb  4 17:03:09 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: divsim.c,v 1.4 2007/02/22 05:46:29 thorpej Exp $	*/
+/*	$NetBSD: divsim.c,v 1.5 2012/02/04 17:03:09 skrll Exp $	*/
 
 /*	$OpenBSD: divsim.c,v 1.4 2001/03/29 03:58:18 mickey Exp $	*/
 
@@ -42,15 +42,12 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: divsim.c,v 1.4 2007/02/22 05:46:29 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: divsim.c,v 1.5 2012/02/04 17:03:09 skrll Exp $");
 
 #include "md.h"
 
 void
-divsim(opnd1,opnd2,result)
-
-int opnd1, opnd2;
-struct mdsfu_register *result;
+divsim(int opnd1, int opnd2, struct mdsfu_register *result)
 {
 	int sign, op1_sign;
 
Index: src/sys/arch/hppa/spmath/divsir.c
diff -u src/sys/arch/hppa/spmath/divsir.c:1.4 src/sys/arch/hppa/spmath/divsir.c:1.5
--- src/sys/arch/hppa/spmath/divsir.c:1.4	Thu Feb 22 05:46:29 2007
+++ src/sys/arch/hppa/spmath/divsir.c	Sat Feb  4 17:03:09 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: divsir.c,v 1.4 2007/02/22 05:46:29 thorpej Exp $	*/
+/*	$NetBSD: divsir.c,v 1.5 2012/02/04 17:03:09 skrll Exp $	*/
 
 /*	$OpenBSD: divsir.c,v 1.5 2001/03/29 03:58:18 mickey Exp $	*/
 
@@ -42,15 +42,12 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: divsir.c,v 1.4 2007/02/22 05:46:29 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: divsir.c,v 1.5 2012/02/04 17:03:09 skrll Exp $");
 
 #include "md.h"
 
 void
-divsir(opnd1,opnd2,result)
-
-int opnd1, opnd2;
-struct mdsfu_register *result;
+divsir(int opnd1, int opnd2, struct mdsfu_register *result)
 {
 	int sign, op1_sign;
 
Index: src/sys/arch/hppa/spmath/divufr.c
diff -u src/sys/arch/hppa/spmath/divufr.c:1.4 src/sys/arch/hppa/spmath/divufr.c:1.5
--- src/sys/arch/hppa/spmath/divufr.c:1.4	Thu Feb 22 05:46:29 2007
+++ src/sys/arch/hppa/spmath/divufr.c	Sat Feb  4 17:03:09 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: divufr.c,v 1.4 2007/02/22 05:46:29 thorpej Exp $	*/
+/*	$NetBSD: divufr.c,v 1.5 2012/02/04 17:03:09 skrll Exp $	*/
 
 /*	$OpenBSD: divufr.c,v 1.5 2001/03/29 03:58:18 mickey Exp $	*/
 
@@ -42,15 +42,12 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: divufr.c,v 1.4 2007/02/22 05:46:29 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: divufr.c,v 1.5 2012/02/04 17:03:09 skrll Exp $");
 
 #include "md.h"
 
 void
-divufr(opnd1,opnd2,result)
-
-unsigned int opnd1, opnd2;
-struct mdsfu_register *result;
+divufr(unsigned int opnd1, unsigned int opnd2, struct mdsfu_register *result)
 {
 	/* check divisor for zero */
 	if (opnd2 == 0) {
Index: src/sys/arch/hppa/spmath/divuir.c
diff -u src/sys/arch/hppa/spmath/divuir.c:1.4 src/sys/arch/hppa/spmath/divuir.c:1.5
--- src/sys/arch/hppa/spmath/divuir.c:1.4	Thu Feb 22 05:46:30 2007
+++ src/sys/arch/hppa/spmath/divuir.c	Sat Feb  4 17:03:09 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: divuir.c,v 1.4 2007/02/22 05:46:30 thorpej Exp $	*/
+/*	$NetBSD: divuir.c,v 1.5 2012/02/04 17:03:09 skrll Exp $	*/
 
 /*	$OpenBSD: divuir.c,v 1.5 2001/03/29 03:58:18 mickey Exp $	*/
 
@@ -42,15 +42,12 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: divuir.c,v 1.4 2007/02/22 05:46:30 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: divuir.c,v 1.5 2012/02/04 17:03:09 skrll Exp $");
 
 #include "md.h"
 
 void
-divuir(opnd1,opnd2,result)
-
-unsigned int opnd1, opnd2;
-struct mdsfu_register *result;
+divuir(unsigned int opnd1, unsigned int opnd2, struct mdsfu_register *result)
 {
 	/* get source operands, check divisor for zero */
 	if (opnd2 == 0) {
Index: src/sys/arch/hppa/spmath/fcnvfxt.c
diff -u src/sys/arch/hppa/spmath/fcnvfxt.c:1.4 src/sys/arch/hppa/spmath/fcnvfxt.c:1.5
--- src/sys/arch/hppa/spmath/fcnvfxt.c:1.4	Sun Jan  1 20:04:36 2012
+++ src/sys/arch/hppa/spmath/fcnvfxt.c	Sat Feb  4 17:03:09 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: fcnvfxt.c,v 1.4 2012/01/01 20:04:36 skrll Exp $	*/
+/*	$NetBSD: fcnvfxt.c,v 1.5 2012/02/04 17:03:09 skrll Exp $	*/
 
 /*	$OpenBSD: fcnvfxt.c,v 1.8 2010/07/30 18:05:23 kettenis Exp $	*/
 
@@ -42,7 +42,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fcnvfxt.c,v 1.4 2012/01/01 20:04:36 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fcnvfxt.c,v 1.5 2012/02/04 17:03:09 skrll Exp $");
 
 #include "../spmath/float.h"
 #include "../spmath/sgl_float.h"
@@ -55,11 +55,8 @@ __KERNEL_RCSID(0, "$NetBSD: fcnvfxt.c,v 
  */
 /*ARGSUSED*/
 int
-sgl_to_sgl_fcnvfxt(srcptr,dstptr,status)
-
-sgl_floating_point *srcptr;
-int *dstptr;
-unsigned int *status;
+sgl_to_sgl_fcnvfxt(sgl_floating_point *srcptr, int *dstptr,
+    unsigned int *status)
 {
 	register unsigned int src, temp;
 	register int src_exponent, result;
@@ -119,11 +116,8 @@ unsigned int *status;
  */
 /*ARGSUSED*/
 int
-sgl_to_dbl_fcnvfxt(srcptr,dstptr,status)
-
-sgl_floating_point *srcptr;
-dbl_integer *dstptr;
-unsigned int *status;
+sgl_to_dbl_fcnvfxt(sgl_floating_point *srcptr, dbl_integer *dstptr,
+    unsigned int *status)
 {
 	register int src_exponent, resultp1;
 	register unsigned int src, temp, resultp2;
@@ -194,11 +188,8 @@ unsigned int *status;
  */
 /*ARGSUSED*/
 int
-dbl_to_sgl_fcnvfxt(srcptr,dstptr,status)
-
-dbl_floating_point *srcptr;
-int *dstptr;
-unsigned int *status;
+dbl_to_sgl_fcnvfxt(dbl_floating_point *srcptr, int *dstptr,
+    unsigned int *status)
 {
 	register unsigned int srcp1, srcp2, tempp1, tempp2;
 	register int src_exponent, result;
@@ -259,11 +250,8 @@ unsigned int *status;
  */
 /*ARGSUSED*/
 int
-dbl_to_dbl_fcnvfxt(srcptr,dstptr,status)
-
-dbl_floating_point *srcptr;
-dbl_integer *dstptr;
-unsigned int *status;
+dbl_to_dbl_fcnvfxt(dbl_floating_point *srcptr, dbl_integer *dstptr,
+    unsigned int *status)
 {
 	register int src_exponent, resultp1;
 	register unsigned int srcp1, srcp2, tempp1, tempp2, resultp2;
Index: src/sys/arch/hppa/spmath/frnd.c
diff -u src/sys/arch/hppa/spmath/frnd.c:1.4 src/sys/arch/hppa/spmath/frnd.c:1.5
--- src/sys/arch/hppa/spmath/frnd.c:1.4	Thu Feb 22 05:46:30 2007
+++ src/sys/arch/hppa/spmath/frnd.c	Sat Feb  4 17:03:10 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: frnd.c,v 1.4 2007/02/22 05:46:30 thorpej Exp $	*/
+/*	$NetBSD: frnd.c,v 1.5 2012/02/04 17:03:10 skrll Exp $	*/
 
 /*	$OpenBSD: frnd.c,v 1.5 2001/03/29 03:58:18 mickey Exp $	*/
 
@@ -42,7 +42,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: frnd.c,v 1.4 2007/02/22 05:46:30 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: frnd.c,v 1.5 2012/02/04 17:03:10 skrll Exp $");
 
 #include "../spmath/float.h"
 #include "../spmath/sgl_float.h"
@@ -56,10 +56,8 @@ __KERNEL_RCSID(0, "$NetBSD: frnd.c,v 1.4
 
 /*ARGSUSED*/
 int
-sgl_frnd(srcptr,dstptr,status)
-
-sgl_floating_point *srcptr, *dstptr;
-unsigned int *status;
+sgl_frnd(sgl_floating_point *srcptr, sgl_floating_point *dstptr,
+    unsigned int *status)
 {
 	register unsigned int src, result;
 	register int src_exponent;
@@ -160,10 +158,8 @@ unsigned int *status;
 
 /*ARGSUSED*/
 int
-dbl_frnd(srcptr,dstptr,status)
-
-dbl_floating_point *srcptr, *dstptr;
-unsigned int *status;
+dbl_frnd(dbl_floating_point *srcptr, dbl_floating_point *dstptr,
+    unsigned int *status)
 {
 	register unsigned int srcp1, srcp2, resultp1, resultp2;
 	register int src_exponent;
@@ -263,10 +259,8 @@ unsigned int *status;
 
 /*ARGSUSED*/
 int
-quad_frnd(srcptr,dstptr,status)
-
-quad_floating_point *srcptr, *dstptr;
-unsigned int *status;
+quad_frnd(quad_floating_point *srcptr, quad_floating_point *dstptr,
+    unsigned int *status)
 {
 	return(UNIMPLEMENTEDEXCEPTION);
 }
Index: src/sys/arch/hppa/spmath/mpyaccs.c
diff -u src/sys/arch/hppa/spmath/mpyaccs.c:1.4 src/sys/arch/hppa/spmath/mpyaccs.c:1.5
--- src/sys/arch/hppa/spmath/mpyaccs.c:1.4	Thu Feb 22 05:46:30 2007
+++ src/sys/arch/hppa/spmath/mpyaccs.c	Sat Feb  4 17:03:10 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: mpyaccs.c,v 1.4 2007/02/22 05:46:30 thorpej Exp $	*/
+/*	$NetBSD: mpyaccs.c,v 1.5 2012/02/04 17:03:10 skrll Exp $	*/
 
 /*	$OpenBSD: mpyaccs.c,v 1.4 2001/03/29 03:58:18 mickey Exp $	*/
 
@@ -42,15 +42,12 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mpyaccs.c,v 1.4 2007/02/22 05:46:30 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mpyaccs.c,v 1.5 2012/02/04 17:03:10 skrll Exp $");
 
 #include "md.h"
 
 void
-mpyaccs(opnd1,opnd2,result)
-
-int opnd1, opnd2;
-struct mdsfu_register *result;
+mpyaccs(int opnd1, int opnd2, struct mdsfu_register *result)
 {
 	struct mdsfu_register temp;
 	int carry, sign;
Index: src/sys/arch/hppa/spmath/mpyaccu.c
diff -u src/sys/arch/hppa/spmath/mpyaccu.c:1.4 src/sys/arch/hppa/spmath/mpyaccu.c:1.5
--- src/sys/arch/hppa/spmath/mpyaccu.c:1.4	Thu Feb 22 05:46:30 2007
+++ src/sys/arch/hppa/spmath/mpyaccu.c	Sat Feb  4 17:03:10 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: mpyaccu.c,v 1.4 2007/02/22 05:46:30 thorpej Exp $	*/
+/*	$NetBSD: mpyaccu.c,v 1.5 2012/02/04 17:03:10 skrll Exp $	*/
 
 /*	$OpenBSD: mpyaccu.c,v 1.5 2001/03/29 03:58:19 mickey Exp $	*/
 
@@ -42,15 +42,13 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mpyaccu.c,v 1.4 2007/02/22 05:46:30 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mpyaccu.c,v 1.5 2012/02/04 17:03:10 skrll Exp $");
 
 #include "md.h"
 
 void
-mpyaccu(opnd1,opnd2,result)
-
-unsigned int opnd1, opnd2;
-struct mdsfu_register *result;
+mpyaccu(unsigned int opnd1, unsigned int opnd2,
+    struct mdsfu_register *result)
 {
 	struct mdsfu_register temp;
 	int carry;
Index: src/sys/arch/hppa/spmath/mpys.c
diff -u src/sys/arch/hppa/spmath/mpys.c:1.4 src/sys/arch/hppa/spmath/mpys.c:1.5
--- src/sys/arch/hppa/spmath/mpys.c:1.4	Thu Feb 22 05:46:30 2007
+++ src/sys/arch/hppa/spmath/mpys.c	Sat Feb  4 17:03:10 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: mpys.c,v 1.4 2007/02/22 05:46:30 thorpej Exp $	*/
+/*	$NetBSD: mpys.c,v 1.5 2012/02/04 17:03:10 skrll Exp $	*/
 
 /*	$OpenBSD: mpys.c,v 1.5 2001/03/29 03:58:19 mickey Exp $	*/
 
@@ -42,15 +42,12 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mpys.c,v 1.4 2007/02/22 05:46:30 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mpys.c,v 1.5 2012/02/04 17:03:10 skrll Exp $");
 
 #include "md.h"
 
 void
-mpys(opnd1,opnd2,result)
-
-int opnd1, opnd2;
-struct mdsfu_register *result;
+mpys(int opnd1, int opnd2, struct mdsfu_register *result)
 {
 	impys(&opnd1,&opnd2,result);
 
Index: src/sys/arch/hppa/spmath/mpyscv.c
diff -u src/sys/arch/hppa/spmath/mpyscv.c:1.4 src/sys/arch/hppa/spmath/mpyscv.c:1.5
--- src/sys/arch/hppa/spmath/mpyscv.c:1.4	Thu Feb 22 05:46:30 2007
+++ src/sys/arch/hppa/spmath/mpyscv.c	Sat Feb  4 17:03:10 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: mpyscv.c,v 1.4 2007/02/22 05:46:30 thorpej Exp $	*/
+/*	$NetBSD: mpyscv.c,v 1.5 2012/02/04 17:03:10 skrll Exp $	*/
 
 /*	$OpenBSD: mpyscv.c,v 1.5 2001/03/29 03:58:19 mickey Exp $	*/
 
@@ -42,15 +42,12 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mpyscv.c,v 1.4 2007/02/22 05:46:30 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mpyscv.c,v 1.5 2012/02/04 17:03:10 skrll Exp $");
 
 #include "md.h"
 
 void
-mpyscv(opnd1,opnd2,result)
-
-int opnd1, opnd2;
-struct mdsfu_register *result;
+mpyscv(int opnd1, int opnd2, struct mdsfu_register *result)
 {
 	impys(&opnd1,&opnd2,result);
 	overflow = false;
Index: src/sys/arch/hppa/spmath/mpyu.c
diff -u src/sys/arch/hppa/spmath/mpyu.c:1.4 src/sys/arch/hppa/spmath/mpyu.c:1.5
--- src/sys/arch/hppa/spmath/mpyu.c:1.4	Thu Feb 22 05:46:30 2007
+++ src/sys/arch/hppa/spmath/mpyu.c	Sat Feb  4 17:03:10 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: mpyu.c,v 1.4 2007/02/22 05:46:30 thorpej Exp $	*/
+/*	$NetBSD: mpyu.c,v 1.5 2012/02/04 17:03:10 skrll Exp $	*/
 
 /*	$OpenBSD: mpyu.c,v 1.4 2001/03/29 03:58:19 mickey Exp $	*/
 
@@ -42,15 +42,13 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mpyu.c,v 1.4 2007/02/22 05:46:30 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mpyu.c,v 1.5 2012/02/04 17:03:10 skrll Exp $");
 
 #include "md.h"
 
 void
-mpyu(opnd1,opnd2,result)
-
-unsigned int opnd1, opnd2;
-struct mdsfu_register *result;
+mpyu(unsigned int opnd1, unsigned int opnd2,
+    struct mdsfu_register *result)
 {
 	impyu(&opnd1,&opnd2,result);
 	/* determine overflow status */
Index: src/sys/arch/hppa/spmath/mpyucv.c
diff -u src/sys/arch/hppa/spmath/mpyucv.c:1.4 src/sys/arch/hppa/spmath/mpyucv.c:1.5
--- src/sys/arch/hppa/spmath/mpyucv.c:1.4	Thu Feb 22 05:46:30 2007
+++ src/sys/arch/hppa/spmath/mpyucv.c	Sat Feb  4 17:03:10 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: mpyucv.c,v 1.4 2007/02/22 05:46:30 thorpej Exp $	*/
+/*	$NetBSD: mpyucv.c,v 1.5 2012/02/04 17:03:10 skrll Exp $	*/
 
 /*	$OpenBSD: mpyucv.c,v 1.4 2001/03/29 03:58:19 mickey Exp $	*/
 
@@ -42,15 +42,13 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mpyucv.c,v 1.4 2007/02/22 05:46:30 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mpyucv.c,v 1.5 2012/02/04 17:03:10 skrll Exp $");
 
 #include "md.h"
 
 void
-mpyucv(opnd1,opnd2,result)
-
-unsigned int opnd1, opnd2;
-struct mdsfu_register *result;
+mpyucv(unsigned int opnd1, unsigned int opnd2,
+    struct mdsfu_register *result)
 {
 	impyu(&opnd1,&opnd2,result);
 	overflow = false;
Index: src/sys/arch/hppa/spmath/sfadd.c
diff -u src/sys/arch/hppa/spmath/sfadd.c:1.4 src/sys/arch/hppa/spmath/sfadd.c:1.5
--- src/sys/arch/hppa/spmath/sfadd.c:1.4	Thu Feb 22 05:46:30 2007
+++ src/sys/arch/hppa/spmath/sfadd.c	Sat Feb  4 17:03:10 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: sfadd.c,v 1.4 2007/02/22 05:46:30 thorpej Exp $	*/
+/*	$NetBSD: sfadd.c,v 1.5 2012/02/04 17:03:10 skrll Exp $	*/
 
 /*	$OpenBSD: sfadd.c,v 1.4 2001/03/29 03:58:19 mickey Exp $	*/
 
@@ -42,7 +42,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sfadd.c,v 1.4 2007/02/22 05:46:30 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sfadd.c,v 1.5 2012/02/04 17:03:10 skrll Exp $");
 
 #include "../spmath/float.h"
 #include "../spmath/sgl_float.h"
@@ -51,10 +51,9 @@ __KERNEL_RCSID(0, "$NetBSD: sfadd.c,v 1.
  * Single_add: add two single precision values.
  */
 int
-sgl_fadd(leftptr, rightptr, dstptr, status)
-    sgl_floating_point *leftptr, *rightptr, *dstptr;
-    unsigned int *status;
-    {
+sgl_fadd(sgl_floating_point *leftptr, sgl_floating_point *rightptr,
+    sgl_floating_point *dstptr, unsigned int *status)
+{
     register unsigned int left, right, result, extent;
     register unsigned int signless_upper_left, signless_upper_right, save;
 
Index: src/sys/arch/hppa/spmath/sfdiv.c
diff -u src/sys/arch/hppa/spmath/sfdiv.c:1.4 src/sys/arch/hppa/spmath/sfdiv.c:1.5
--- src/sys/arch/hppa/spmath/sfdiv.c:1.4	Thu Feb 22 05:46:30 2007
+++ src/sys/arch/hppa/spmath/sfdiv.c	Sat Feb  4 17:03:10 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: sfdiv.c,v 1.4 2007/02/22 05:46:30 thorpej Exp $	*/
+/*	$NetBSD: sfdiv.c,v 1.5 2012/02/04 17:03:10 skrll Exp $	*/
 
 /*	$OpenBSD: sfdiv.c,v 1.4 2001/03/29 03:58:19 mickey Exp $	*/
 
@@ -42,7 +42,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sfdiv.c,v 1.4 2007/02/22 05:46:30 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sfdiv.c,v 1.5 2012/02/04 17:03:10 skrll Exp $");
 
 #include "../spmath/float.h"
 #include "../spmath/sgl_float.h"
@@ -51,10 +51,8 @@ __KERNEL_RCSID(0, "$NetBSD: sfdiv.c,v 1.
  *  Single Precision Floating-point Divide
  */
 int
-sgl_fdiv(srcptr1,srcptr2,dstptr,status)
-
-sgl_floating_point *srcptr1, *srcptr2, *dstptr;
-unsigned int *status;
+sgl_fdiv(sgl_floating_point *srcptr1, sgl_floating_point *srcptr2,
+    sgl_floating_point *dstptr, unsigned int *status)
 {
 	register unsigned int opnd1, opnd2, opnd3, result;
 	register int dest_exponent, count;
Index: src/sys/arch/hppa/spmath/sfmpy.c
diff -u src/sys/arch/hppa/spmath/sfmpy.c:1.4 src/sys/arch/hppa/spmath/sfmpy.c:1.5
--- src/sys/arch/hppa/spmath/sfmpy.c:1.4	Thu Feb 22 05:46:30 2007
+++ src/sys/arch/hppa/spmath/sfmpy.c	Sat Feb  4 17:03:10 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: sfmpy.c,v 1.4 2007/02/22 05:46:30 thorpej Exp $	*/
+/*	$NetBSD: sfmpy.c,v 1.5 2012/02/04 17:03:10 skrll Exp $	*/
 
 /*	$OpenBSD: sfmpy.c,v 1.4 2001/03/29 03:58:19 mickey Exp $	*/
 
@@ -42,7 +42,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sfmpy.c,v 1.4 2007/02/22 05:46:30 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sfmpy.c,v 1.5 2012/02/04 17:03:10 skrll Exp $");
 
 #include "../spmath/float.h"
 #include "../spmath/sgl_float.h"
@@ -51,10 +51,8 @@ __KERNEL_RCSID(0, "$NetBSD: sfmpy.c,v 1.
  *  Single Precision Floating-point Multiply
  */
 int
-sgl_fmpy(srcptr1,srcptr2,dstptr,status)
-
-sgl_floating_point *srcptr1, *srcptr2, *dstptr;
-unsigned int *status;
+sgl_fmpy(sgl_floating_point *srcptr1, sgl_floating_point *srcptr2,
+    sgl_floating_point *dstptr, unsigned int *status)
 {
 	register unsigned int opnd1, opnd2, opnd3, result;
 	register int dest_exponent, count;
Index: src/sys/arch/hppa/spmath/sfrem.c
diff -u src/sys/arch/hppa/spmath/sfrem.c:1.4 src/sys/arch/hppa/spmath/sfrem.c:1.5
--- src/sys/arch/hppa/spmath/sfrem.c:1.4	Thu Feb 22 05:46:30 2007
+++ src/sys/arch/hppa/spmath/sfrem.c	Sat Feb  4 17:03:10 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: sfrem.c,v 1.4 2007/02/22 05:46:30 thorpej Exp $	*/
+/*	$NetBSD: sfrem.c,v 1.5 2012/02/04 17:03:10 skrll Exp $	*/
 
 /*	$OpenBSD: sfrem.c,v 1.4 2001/03/29 03:58:19 mickey Exp $	*/
 
@@ -42,7 +42,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sfrem.c,v 1.4 2007/02/22 05:46:30 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sfrem.c,v 1.5 2012/02/04 17:03:10 skrll Exp $");
 
 #include "../spmath/float.h"
 #include "../spmath/sgl_float.h"
@@ -51,10 +51,8 @@ __KERNEL_RCSID(0, "$NetBSD: sfrem.c,v 1.
  *  Single Precision Floating-point Remainder
  */
 int
-sgl_frem(srcptr1,srcptr2,dstptr,status)
-
-sgl_floating_point *srcptr1, *srcptr2, *dstptr;
-unsigned int *status;
+sgl_frem(sgl_floating_point *srcptr1, sgl_floating_point *srcptr2,
+    sgl_floating_point *dstptr, unsigned int *status)
 {
 	register unsigned int opnd1, opnd2, result;
 	register int opnd1_exponent, opnd2_exponent, dest_exponent, stepcount;
Index: src/sys/arch/hppa/spmath/sfsqrt.c
diff -u src/sys/arch/hppa/spmath/sfsqrt.c:1.4 src/sys/arch/hppa/spmath/sfsqrt.c:1.5
--- src/sys/arch/hppa/spmath/sfsqrt.c:1.4	Thu Feb 22 05:46:31 2007
+++ src/sys/arch/hppa/spmath/sfsqrt.c	Sat Feb  4 17:03:10 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: sfsqrt.c,v 1.4 2007/02/22 05:46:31 thorpej Exp $	*/
+/*	$NetBSD: sfsqrt.c,v 1.5 2012/02/04 17:03:10 skrll Exp $	*/
 
 /*	$OpenBSD: sfsqrt.c,v 1.5 2001/03/29 03:58:19 mickey Exp $	*/
 
@@ -42,7 +42,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sfsqrt.c,v 1.4 2007/02/22 05:46:31 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sfsqrt.c,v 1.5 2012/02/04 17:03:10 skrll Exp $");
 
 #include "../spmath/float.h"
 #include "../spmath/sgl_float.h"
@@ -53,10 +53,8 @@ __KERNEL_RCSID(0, "$NetBSD: sfsqrt.c,v 1
 
 /*ARGSUSED*/
 int
-sgl_fsqrt(srcptr,dstptr,status)
-
-sgl_floating_point *srcptr, *dstptr;
-unsigned int *status;
+sgl_fsqrt(sgl_floating_point *srcptr, sgl_floating_point *dstptr,
+    unsigned int *status)
 {
 	register unsigned int src, result;
 	register int src_exponent, newbit, sum;
Index: src/sys/arch/hppa/spmath/sfsub.c
diff -u src/sys/arch/hppa/spmath/sfsub.c:1.4 src/sys/arch/hppa/spmath/sfsub.c:1.5
--- src/sys/arch/hppa/spmath/sfsub.c:1.4	Thu Feb 22 05:46:31 2007
+++ src/sys/arch/hppa/spmath/sfsub.c	Sat Feb  4 17:03:11 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: sfsub.c,v 1.4 2007/02/22 05:46:31 thorpej Exp $	*/
+/*	$NetBSD: sfsub.c,v 1.5 2012/02/04 17:03:11 skrll Exp $	*/
 
 /*	$OpenBSD: sfsub.c,v 1.4 2001/03/29 03:58:19 mickey Exp $	*/
 
@@ -42,7 +42,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sfsub.c,v 1.4 2007/02/22 05:46:31 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sfsub.c,v 1.5 2012/02/04 17:03:11 skrll Exp $");
 
 #include "../spmath/float.h"
 #include "../spmath/sgl_float.h"
@@ -51,10 +51,9 @@ __KERNEL_RCSID(0, "$NetBSD: sfsub.c,v 1.
  * Single_subtract: subtract two single precision values.
  */
 int
-sgl_fsub(leftptr, rightptr, dstptr, status)
-    sgl_floating_point *leftptr, *rightptr, *dstptr;
-    unsigned int *status;
-    {
+sgl_fsub(sgl_floating_point *leftptr, sgl_floating_point *rightptr,
+    sgl_floating_point *dstptr, unsigned int *status)
+{
     register unsigned int left, right, result, extent;
     register unsigned int signless_upper_left, signless_upper_right, save;
 

Index: src/sys/arch/hppa/spmath/dfcmp.c
diff -u src/sys/arch/hppa/spmath/dfcmp.c:1.3 src/sys/arch/hppa/spmath/dfcmp.c:1.4
--- src/sys/arch/hppa/spmath/dfcmp.c:1.3	Sun Dec 11 12:17:40 2005
+++ src/sys/arch/hppa/spmath/dfcmp.c	Sat Feb  4 17:03:09 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: dfcmp.c,v 1.3 2005/12/11 12:17:40 christos Exp $	*/
+/*	$NetBSD: dfcmp.c,v 1.4 2012/02/04 17:03:09 skrll Exp $	*/
 
 /*	$OpenBSD: dfcmp.c,v 1.4 2001/03/29 03:58:17 mickey Exp $	*/
 
@@ -42,7 +42,7 @@
 
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dfcmp.c,v 1.3 2005/12/11 12:17:40 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dfcmp.c,v 1.4 2012/02/04 17:03:09 skrll Exp $");
 
 #include "../spmath/float.h"
 #include "../spmath/dbl_float.h"
@@ -51,11 +51,9 @@ __KERNEL_RCSID(0, "$NetBSD: dfcmp.c,v 1.
  * dbl_cmp: compare two values
  */
 int
-dbl_fcmp(leftptr, rightptr, cond, status)
-    dbl_floating_point *leftptr, *rightptr;
-    unsigned int cond; /* The predicate to be tested */
-    unsigned int *status;
-    {
+dbl_fcmp(dbl_floating_point *leftptr, dbl_floating_point *rightptr,
+    unsigned int cond, unsigned int *status)
+{
     register unsigned int leftp1, leftp2, rightp1, rightp2;
     register int xorresult;
 
Index: src/sys/arch/hppa/spmath/fcnvxf.c
diff -u src/sys/arch/hppa/spmath/fcnvxf.c:1.3 src/sys/arch/hppa/spmath/fcnvxf.c:1.4
--- src/sys/arch/hppa/spmath/fcnvxf.c:1.3	Sun Dec 11 12:17:40 2005
+++ src/sys/arch/hppa/spmath/fcnvxf.c	Sat Feb  4 17:03:10 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: fcnvxf.c,v 1.3 2005/12/11 12:17:40 christos Exp $	*/
+/*	$NetBSD: fcnvxf.c,v 1.4 2012/02/04 17:03:10 skrll Exp $	*/
 
 /*	$OpenBSD: fcnvxf.c,v 1.5 2001/03/29 03:58:18 mickey Exp $	*/
 
@@ -42,7 +42,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fcnvxf.c,v 1.3 2005/12/11 12:17:40 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fcnvxf.c,v 1.4 2012/02/04 17:03:10 skrll Exp $");
 
 #include "../spmath/float.h"
 #include "../spmath/sgl_float.h"
@@ -53,11 +53,8 @@ __KERNEL_RCSID(0, "$NetBSD: fcnvxf.c,v 1
  *  Convert single fixed-point to single floating-point format
  */
 int
-sgl_to_sgl_fcnvxf(srcptr,dstptr,status)
-
-int *srcptr;
-sgl_floating_point *dstptr;
-unsigned int *status;
+sgl_to_sgl_fcnvxf(int *srcptr, sgl_floating_point *dstptr,
+    unsigned int *status)
 {
 	register int src, dst_exponent;
 	register unsigned int result = 0;
@@ -123,11 +120,8 @@ unsigned int *status;
  *  Single Fixed-point to Double Floating-point
  */
 int
-sgl_to_dbl_fcnvxf(srcptr,dstptr,status)
-
-int *srcptr;
-dbl_floating_point *dstptr;
-unsigned int *status;
+sgl_to_dbl_fcnvxf(int *srcptr, dbl_floating_point *dstptr,
+    unsigned int *status)
 {
 	register int src, dst_exponent;
 	register unsigned int resultp1 = 0, resultp2 = 0;
@@ -173,11 +167,8 @@ unsigned int *status;
  *  Double Fixed-point to Single Floating-point
  */
 int
-dbl_to_sgl_fcnvxf(srcptr,dstptr,status)
-
-dbl_integer *srcptr;
-sgl_floating_point *dstptr;
-unsigned int *status;
+dbl_to_sgl_fcnvxf(dbl_integer *srcptr, sgl_floating_point *dstptr,
+    unsigned int *status)
 {
 	int dst_exponent, srcp1;
 	unsigned int result = 0, srcp2;
@@ -277,11 +268,8 @@ unsigned int *status;
  *  Double Fixed-point to Double Floating-point
  */
 int
-dbl_to_dbl_fcnvxf(srcptr,dstptr,status)
-
-dbl_integer *srcptr;
-dbl_floating_point *dstptr;
-unsigned int *status;
+dbl_to_dbl_fcnvxf(dbl_integer *srcptr, dbl_floating_point *dstptr,
+    unsigned int *status)
 {
 	register int srcp1, dst_exponent;
 	register unsigned int srcp2, resultp1 = 0, resultp2 = 0;
Index: src/sys/arch/hppa/spmath/sfcmp.c
diff -u src/sys/arch/hppa/spmath/sfcmp.c:1.3 src/sys/arch/hppa/spmath/sfcmp.c:1.4
--- src/sys/arch/hppa/spmath/sfcmp.c:1.3	Sun Dec 11 12:17:40 2005
+++ src/sys/arch/hppa/spmath/sfcmp.c	Sat Feb  4 17:03:10 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: sfcmp.c,v 1.3 2005/12/11 12:17:40 christos Exp $	*/
+/*	$NetBSD: sfcmp.c,v 1.4 2012/02/04 17:03:10 skrll Exp $	*/
 
 /*	$OpenBSD: sfcmp.c,v 1.4 2001/03/29 03:58:19 mickey Exp $	*/
 
@@ -42,7 +42,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sfcmp.c,v 1.3 2005/12/11 12:17:40 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sfcmp.c,v 1.4 2012/02/04 17:03:10 skrll Exp $");
 
 #include "../spmath/float.h"
 #include "../spmath/sgl_float.h"
@@ -51,11 +51,9 @@ __KERNEL_RCSID(0, "$NetBSD: sfcmp.c,v 1.
  * sgl_cmp: compare two values
  */
 int
-sgl_fcmp(leftptr, rightptr, cond, status)
-    sgl_floating_point *leftptr, *rightptr;
-    unsigned int cond; /* The predicate to be tested */
-    unsigned int *status;
-    {
+sgl_fcmp(sgl_floating_point *leftptr, sgl_floating_point *rightptr,
+    unsigned int cond, unsigned int *status)
+{
     register unsigned int left, right;
     register int xorresult;
 

Index: src/sys/arch/hppa/spmath/fcnvff.c
diff -u src/sys/arch/hppa/spmath/fcnvff.c:1.5 src/sys/arch/hppa/spmath/fcnvff.c:1.6
--- src/sys/arch/hppa/spmath/fcnvff.c:1.5	Thu Feb 22 05:46:30 2007
+++ src/sys/arch/hppa/spmath/fcnvff.c	Sat Feb  4 17:03:09 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: fcnvff.c,v 1.5 2007/02/22 05:46:30 thorpej Exp $	*/
+/*	$NetBSD: fcnvff.c,v 1.6 2012/02/04 17:03:09 skrll Exp $	*/
 
 /*	$OpenBSD: fcnvff.c,v 1.5 2001/03/29 03:58:18 mickey Exp $	*/
 
@@ -42,7 +42,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fcnvff.c,v 1.5 2007/02/22 05:46:30 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fcnvff.c,v 1.6 2012/02/04 17:03:09 skrll Exp $");
 
 #include "../spmath/float.h"
 #include "../spmath/sgl_float.h"
@@ -54,11 +54,8 @@ __KERNEL_RCSID(0, "$NetBSD: fcnvff.c,v 1
  */
 /*ARGSUSED*/
 int
-sgl_to_dbl_fcnvff(srcptr,dstptr,status)
-
-sgl_floating_point *srcptr;
-dbl_floating_point *dstptr;
-unsigned int *status;
+sgl_to_dbl_fcnvff(sgl_floating_point *srcptr, dbl_floating_point *dstptr,
+    unsigned int *status)
 {
 	register unsigned int src, resultp1, resultp2;
 	register int src_exponent;
@@ -141,11 +138,8 @@ unsigned int *status;
  */
 /*ARGSUSED*/
 int
-dbl_to_sgl_fcnvff(srcptr,dstptr,status)
-
-dbl_floating_point *srcptr;
-sgl_floating_point *dstptr;
-unsigned int *status;
+dbl_to_sgl_fcnvff(dbl_floating_point *srcptr, sgl_floating_point *dstptr,
+    unsigned int *status)
 {
 	register unsigned int srcp1, srcp2, result;
 	register int src_exponent, dest_exponent, dest_mantissa;
Index: src/sys/arch/hppa/spmath/fcnvfx.c
diff -u src/sys/arch/hppa/spmath/fcnvfx.c:1.5 src/sys/arch/hppa/spmath/fcnvfx.c:1.6
--- src/sys/arch/hppa/spmath/fcnvfx.c:1.5	Sun Jan  1 20:04:36 2012
+++ src/sys/arch/hppa/spmath/fcnvfx.c	Sat Feb  4 17:03:09 2012
@@ -41,7 +41,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fcnvfx.c,v 1.5 2012/01/01 20:04:36 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fcnvfx.c,v 1.6 2012/02/04 17:03:09 skrll Exp $");
 
 #include "../spmath/float.h"
 #include "../spmath/sgl_float.h"
@@ -53,11 +53,8 @@ __KERNEL_RCSID(0, "$NetBSD: fcnvfx.c,v 1
  */
 /*ARGSUSED*/
 int
-sgl_to_sgl_fcnvfx(srcptr,dstptr,status)
-
-sgl_floating_point *srcptr;
-int *dstptr;
-unsigned int *status;
+sgl_to_sgl_fcnvfx(sgl_floating_point *srcptr, int *dstptr,
+    unsigned int *status)
 {
 	register unsigned int src, temp;
 	register int src_exponent, result;
@@ -152,11 +149,8 @@ unsigned int *status;
  */
 /*ARGSUSED*/
 int
-sgl_to_dbl_fcnvfx(srcptr,dstptr,status)
-
-sgl_floating_point *srcptr;
-dbl_integer *dstptr;
-unsigned int *status;
+sgl_to_dbl_fcnvfx(sgl_floating_point *srcptr, dbl_integer *dstptr,
+    unsigned int *status)
 {
 	register int src_exponent, resultp1;
 	register unsigned int src, temp, resultp2;
@@ -276,11 +270,8 @@ unsigned int *status;
  */
 /*ARGSUSED*/
 int
-dbl_to_sgl_fcnvfx(srcptr,dstptr,status)
-
-dbl_floating_point *srcptr;
-int *dstptr;
-unsigned int *status;
+dbl_to_sgl_fcnvfx(dbl_floating_point *srcptr, int *dstptr,
+   unsigned int *status)
 {
 	register unsigned int srcp1,srcp2, tempp1,tempp2;
 	register int src_exponent, result;
@@ -398,11 +389,8 @@ unsigned int *status;
  */
 /*ARGSUSED*/
 int
-dbl_to_dbl_fcnvfx(srcptr,dstptr,status)
-
-dbl_floating_point *srcptr;
-dbl_integer *dstptr;
-unsigned int *status;
+dbl_to_dbl_fcnvfx(dbl_floating_point *srcptr, dbl_integer *dstptr,
+    unsigned int *status)
 {
 	register int src_exponent, resultp1;
 	register unsigned int srcp1, srcp2, tempp1, tempp2, resultp2;

Index: src/sys/arch/hppa/spmath/setovfl.c
diff -u src/sys/arch/hppa/spmath/setovfl.c:1.6 src/sys/arch/hppa/spmath/setovfl.c:1.7
--- src/sys/arch/hppa/spmath/setovfl.c:1.6	Sat Mar 14 15:36:07 2009
+++ src/sys/arch/hppa/spmath/setovfl.c	Sat Feb  4 17:03:10 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: setovfl.c,v 1.6 2009/03/14 15:36:07 dsl Exp $	*/
+/*	$NetBSD: setovfl.c,v 1.7 2012/02/04 17:03:10 skrll Exp $	*/
 
 /*	$OpenBSD: setovfl.c,v 1.4 2001/03/29 03:58:19 mickey Exp $	*/
 
@@ -42,7 +42,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: setovfl.c,v 1.6 2009/03/14 15:36:07 dsl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: setovfl.c,v 1.7 2012/02/04 17:03:10 skrll Exp $");
 
 #include "../spmath/float.h"
 #include "../spmath/sgl_float.h"
@@ -83,9 +83,7 @@ sgl_setoverflow(unsigned int sign)
 	return(result);
 }
 
-dbl_floating_point dbl_setoverflow(sign)
-
-unsigned int sign;
+dbl_floating_point dbl_setoverflow(unsigned int sign)
 {
 	dbl_floating_point result;
 

Reply via email to