diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-02-24 09:12:52 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-02-24 09:12:52 +0000 |
commit | 38a24426a2b1710ce7c6dba2304fa6486dedfcea (patch) | |
tree | 6f37265b9e7a1d6df7b43beb5fe807f7d029d6e2 /lib/libc/arch/m68k/gen | |
parent | 10834da7ac78071b50354242a26cc30f9c97988b (diff) |
From NetBSD: Add explicit return type
Diffstat (limited to 'lib/libc/arch/m68k/gen')
-rw-r--r-- | lib/libc/arch/m68k/gen/isinf.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/arch/m68k/gen/isinf.c b/lib/libc/arch/m68k/gen/isinf.c index cbe2649a478..fbfde98a3eb 100644 --- a/lib/libc/arch/m68k/gen/isinf.c +++ b/lib/libc/arch/m68k/gen/isinf.c @@ -33,11 +33,12 @@ #if defined(LIBC_SCCS) && !defined(lint) /*static char sccsid[] = "from: @(#)isinf.c 5.1 (Berkeley) 3/18/91";*/ -static char rcsid[] = "$Id: isinf.c,v 1.1 1995/10/18 08:41:29 deraadt Exp $"; +static char rcsid[] = "$Id: isinf.c,v 1.2 1996/02/24 09:12:42 niklas Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/types.h> +int isnan(d) double d; { @@ -51,6 +52,7 @@ isnan(d) return(p->exp == 2047 && (p->manh || p->manl)); } +int isinf(d) double d; { |