Avoid compiler warning.
authorBruno Haible <bruno@clisp.org>
Sun, 25 Mar 2007 17:58:06 +0000 (17:58 +0000)
committerBruno Haible <bruno@clisp.org>
Sun, 25 Mar 2007 17:58:06 +0000 (17:58 +0000)
ChangeLog
lib/sincosl.c

index 1d44aeb..9b29e5d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2007-03-25  Bruno Haible  <bruno@clisp.org>
 
+       * lib/sincosl.c (sincosl_table): Make static.
+
+2007-03-25  Bruno Haible  <bruno@clisp.org>
+
        * lib/argp.h (__restrict): Define to empty, rather than to 'restrict',
        if the compiler does not support C99.
 
index 1aaab5c..ed4e87e 100644 (file)
@@ -230,7 +230,7 @@ kernel_cosl (long double x, long double y)
    Computed using gmp.
  */
 
-const long double sincosl_table[] = {
+static const long double sincosl_table[] = {
 
 /* x =  1.48437500000000000000000000000000000e-01L 3ffc3000000000000000000000000000 */
 /* cos(x) = 0.fd2f5320e1b790209b4dda2f98f79caaa7b873aff1014b0fbc5243766d03cb006bc837c4358 */