From 67203373ede945baf4861dce3945fdea25b63d73 Mon Sep 17 00:00:00 2001 From: martynas Date: Wed, 16 Jul 2008 15:01:19 +0000 Subject: [PATCH] infnan always returned wrong values, because compiler assumed it returns integer value, so add missing prototype ok millert@ --- include/math.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/math.h b/include/math.h index 67b670334c2..7c039b09b15 100644 --- a/include/math.h +++ b/include/math.h @@ -1,4 +1,4 @@ -/* $OpenBSD: math.h,v 1.15 2008/06/11 21:16:43 martynas Exp $ */ +/* $OpenBSD: math.h,v 1.16 2008/07/16 15:01:19 martynas Exp $ */ /* * ==================================================== * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. @@ -304,6 +304,10 @@ extern float lgammaf_r(float, int *); #endif /* __BSD_VISIBLE || __XPG_VISIBLE >= 500 */ #endif /* __BSD_VISIBLE || __XPG_VISIBLE */ + +#if __BSD_VISIBLE && defined(__vax__) +extern double infnan(int); +#endif /* __BSD_VISIBLE && defined(__vax__) */ __END_DECLS #endif /* _MATH_H_ */ -- 2.20.1