summaryrefslogtreecommitdiff
path: root/sys/arch/hppa/spmath/sfsqrt.c
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1998-07-02 19:06:04 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1998-07-02 19:06:04 +0000
commit186df561f20e8ff3f8c74f3f4ef6ac29f67485e2 (patch)
tree8e23f01a9975fe3c59d7ee922be9e679137c65e3 /sys/arch/hppa/spmath/sfsqrt.c
parent387f724d77fa7589fc76165f07621db9817fb9b1 (diff)
ansi and fancy gcc
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;