Mercurial > ecos
diff packages/language/c/libm/current/include/math.h @ 126:518f42066aba ecos-sw-2000-09-19
Merge from eCos master repository on 2000-09-19-06:25:26-BST
| author | jlarmour |
|---|---|
| date | Tue, 19 Sep 2000 05:53:51 +0000 |
| parents | 77cec8369160 |
| children | e0c0827131d1 |
line wrap: on
line diff
--- a/packages/language/c/libm/current/include/math.h +++ b/packages/language/c/libm/current/include/math.h @@ -67,7 +67,7 @@ // HUGE_VAL is a positive double (not necessarily representable as a float) // representing infinity as specified in ANSI 7.5. cyg_libm_infinity is // defined further down -#define HUGE_VAL (cyg_libm_infinity[0].value) +#define HUGE_VAL (cyg_libm_infinity.value) #ifndef CYGSYM_LIBM_NO_XOPEN_SVID_NAMESPACE_POLLUTION @@ -103,7 +103,7 @@ struct exception { // GLOBALS -externC const Cyg_libm_ieee_double_shape_type cyg_libm_infinity[]; +externC const Cyg_libm_ieee_double_shape_type cyg_libm_infinity; //=========================================================================== // FUNCTION PROTOTYPES
