diff options
author | 2008-07-16 15:01:19 +0000 | |
---|---|---|
committer | 2008-07-16 15:01:19 +0000 | |
commit | 67203373ede945baf4861dce3945fdea25b63d73 (patch) | |
tree | 17268308a2c9e657fab035a68a4c650d3618f160 | |
parent | better description for TMPDIR. from millert@ (diff) | |
download | wireguard-openbsd-67203373ede945baf4861dce3945fdea25b63d73.tar.xz wireguard-openbsd-67203373ede945baf4861dce3945fdea25b63d73.zip |
infnan always returned wrong values, because compiler assumed it
returns integer value, so add missing prototype
ok millert@
-rw-r--r-- | include/math.h | 6 |
1 files changed, 5 insertions, 1 deletions
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_ */ |