Selaa lähdekoodia

Remove explicit signgam prototype, use header instead

Peter S. Mazinger 18 vuotta sitten
vanhempi
commit
0fbf81ecd1
4 muutettua tiedostoa jossa 4 lisäystä ja 6 poistoa
  1. 1 1
      libm/e_gamma.c
  2. 1 1
      libm/e_lgamma.c
  3. 1 2
      libm/w_gamma.c
  4. 1 2
      libm/w_lgamma.c

+ 1 - 1
libm/e_gamma.c

@@ -18,9 +18,9 @@
  * Method: call __ieee754_gamma_r
  */
 
+#include <math.h>
 #include "math_private.h"
 
-extern int signgam;
 libm_hidden_proto(signgam)
 
 #ifdef __STDC__

+ 1 - 1
libm/e_lgamma.c

@@ -18,9 +18,9 @@
  * Method: call __ieee754_lgamma_r
  */
 
+#include <math.h>
 #include "math_private.h"
 
-extern int signgam;
 libm_hidden_proto(signgam)
 
 #ifdef __STDC__

+ 1 - 2
libm/w_gamma.c

@@ -20,10 +20,9 @@ static char rcsid[] = "$NetBSD: w_gamma.c,v 1.7 1995/11/20 22:06:43 jtc Exp $";
  * Method: call gamma_r
  */
 
-#include "math.h"
+#include <math.h>
 #include "math_private.h"
 
-extern int signgam;
 libm_hidden_proto(signgam)
 
 #ifdef __STDC__

+ 1 - 2
libm/w_lgamma.c

@@ -20,10 +20,9 @@ static char rcsid[] = "$NetBSD: w_lgamma.c,v 1.6 1995/05/10 20:49:24 jtc Exp $";
  * Method: call __ieee754_lgamma_r
  */
 
-#include "math.h"
+#include <math.h>
 #include "math_private.h"
 
-extern int signgam;
 libm_hidden_proto(signgam)
 
 libm_hidden_proto(lgamma)