bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

trigl.c warning


From: Bruno Haible
Subject: trigl.c warning
Date: Sun, 25 Mar 2007 20:02:49 +0200
User-agent: KMail/1.5.4

HP-UX cc gives this warning:
cc: "trigl.c", line 427: warning 562: Redeclaration of "kernel_rem_pio2" with a 
different storage class specifier: "kernel_rem_pio2" will have internal linkage.

I'm applying this fix.


2007-03-25  Bruno Haible  <address@hidden>

        * lib/trigl.c (kernel_rem_pio2): Make static.

--- lib/trigl.c 18 Feb 2007 15:10:28 -0000      1.4
+++ lib/trigl.c 25 Mar 2007 17:59:47 -0000
@@ -423,7 +423,7 @@
 static const double zero = 0.0, one = 1.0, two24 = 1.67772160000000000000e+07, 
/* 0x41700000, 0x00000000 */
   twon24 = 5.96046447753906250000e-08; /* 0x3E700000, 0x00000000 */
 
-int
+static int
 kernel_rem_pio2 (double *x, double *y, int e0, int nx, int prec,
                 const int *ipio2)
 {





reply via email to

[Prev in Thread] Current Thread [Next in Thread]