summaryrefslogtreecommitdiff
path: root/lib/libc/arch/sparc
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1996-02-24 09:12:52 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1996-02-24 09:12:52 +0000
commit38a24426a2b1710ce7c6dba2304fa6486dedfcea (patch)
tree6f37265b9e7a1d6df7b43beb5fe807f7d029d6e2 /lib/libc/arch/sparc
parent10834da7ac78071b50354242a26cc30f9c97988b (diff)
From NetBSD: Add explicit return type
Diffstat (limited to 'lib/libc/arch/sparc')
-rw-r--r--lib/libc/arch/sparc/gen/isinf.c3
-rw-r--r--lib/libc/arch/sparc/gen/isnan.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/lib/libc/arch/sparc/gen/isinf.c b/lib/libc/arch/sparc/gen/isinf.c
index 735e8e02d47..d3502de6690 100644
--- a/lib/libc/arch/sparc/gen/isinf.c
+++ b/lib/libc/arch/sparc/gen/isinf.c
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: Header: isinf.c,v 1.1 91/07/08 19:03:34 torek Exp
- * $Id: isinf.c,v 1.1 1995/10/18 08:41:40 deraadt Exp $
+ * $Id: isinf.c,v 1.2 1996/02/24 09:12:47 niklas Exp $
*/
#if defined(LIBC_SCCS) && !defined(lint)
@@ -45,6 +45,7 @@ static char sccsid[] = "@(#)isinf.c 8.1 (Berkeley) 6/4/93";
#include <sys/types.h>
#include <machine/ieee.h>
+int
isinf(d)
double d;
{
diff --git a/lib/libc/arch/sparc/gen/isnan.c b/lib/libc/arch/sparc/gen/isnan.c
index a54b02c3e0f..15db87fd819 100644
--- a/lib/libc/arch/sparc/gen/isnan.c
+++ b/lib/libc/arch/sparc/gen/isnan.c
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: Header: isnan.c,v 1.1 91/07/08 19:03:34 torek Exp
- * $Id: isnan.c,v 1.1 1995/10/18 08:41:40 deraadt Exp $
+ * $Id: isnan.c,v 1.2 1996/02/24 09:12:48 niklas Exp $
*/
#if defined(LIBC_SCCS) && !defined(lint)
@@ -45,6 +45,7 @@ static char sccsid[] = "@(#)isnan.c 8.1 (Berkeley) 6/4/93";
#include <sys/types.h>
#include <machine/ieee.h>
+int
isnan(d)
double d;
{