瀏覽代碼

Remove explicit signgam prototype, use header instead

Peter S. Mazinger 18 年之前
父節點
當前提交
0fbf81ecd1
共有 4 個文件被更改,包括 4 次插入6 次删除
  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)