summaryrefslogtreecommitdiff
path: root/sys/arch/hppa/spmath/sfsqrt.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/hppa/spmath/sfsqrt.c')
-rw-r--r--sys/arch/hppa/spmath/sfsqrt.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/hppa/spmath/sfsqrt.c b/sys/arch/hppa/spmath/sfsqrt.c
index ae78a9c33cb..72d7853f7fb 100644
--- a/sys/arch/hppa/spmath/sfsqrt.c
+++ b/sys/arch/hppa/spmath/sfsqrt.c
@@ -1,3 +1,5 @@
+/* $OpenBSD: sfsqrt.c,v 1.3 1998/07/02 19:06:01 mickey Exp $ */
+
/*
* Copyright 1996 1995 by Open Software Foundation, Inc.
* All Rights Reserved
@@ -45,10 +47,12 @@
*/
/*ARGSUSED*/
+int
sgl_fsqrt(srcptr,nullptr,dstptr,status)
sgl_floating_point *srcptr, *dstptr;
-unsigned int *nullptr, *status;
+void *nullptr;
+unsigned int *status;
{
register unsigned int src, result;
register int src_exponent, newbit, sum;