Browse Source

infnan always returned wrong values, because compiler assumed it

returns integer value, so add missing prototype
ok millert@
OPENBSD_4_4
martynas 16 years ago
parent
commit
7e25e8a2b9
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      src/include/math.h

+ 5
- 1
src/include/math.h View File

@ -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. * 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 >= 500 */
#endif /* __BSD_VISIBLE || __XPG_VISIBLE */ #endif /* __BSD_VISIBLE || __XPG_VISIBLE */
#if __BSD_VISIBLE && defined(__vax__)
extern double infnan(int);
#endif /* __BSD_VISIBLE && defined(__vax__) */
__END_DECLS __END_DECLS
#endif /* _MATH_H_ */ #endif /* _MATH_H_ */

Loading…
Cancel
Save