diff options
Diffstat (limited to 'newlib/libm/common/cosf.c')
-rw-r--r-- | newlib/libm/common/cosf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/newlib/libm/common/cosf.c b/newlib/libm/common/cosf.c index aac0a9aee..f87186c68 100644 --- a/newlib/libm/common/cosf.c +++ b/newlib/libm/common/cosf.c @@ -43,7 +43,7 @@ cosf (float y) double x = y; double s; int n; - sincos_t *p = &sincosf_table[0]; + const sincos_t *p = &__sincosf_table[0]; if (abstop12 (y) < abstop12 (pio4)) { @@ -62,7 +62,7 @@ cosf (float y) s = p->sign[n & 3]; if (n & 2) - p = &sincosf_table[1]; + p = &__sincosf_table[1]; return sinf_poly (x * s, x * x, p, n ^ 1); } @@ -77,7 +77,7 @@ cosf (float y) s = p->sign[(n + sign) & 3]; if ((n + sign) & 2) - p = &sincosf_table[1]; + p = &__sincosf_table[1]; return sinf_poly (x * s, x * x, p, n ^ 1); } |