math: remove libc.h include from libm.h

libc.h is only for weak_alias so include it directly where it is used
This commit is contained in:
Szabolcs Nagy 2013-09-05 14:03:10 +00:00
parent 101e601285
commit afa2aaccea
5 changed files with 5 additions and 3 deletions

View File

@ -19,8 +19,6 @@
#include <complex.h>
#include <endian.h>
#include "libc.h"
#if LDBL_MANT_DIG == 53 && LDBL_MAX_EXP == 1024
#elif LDBL_MANT_DIG == 64 && LDBL_MAX_EXP == 16384 && __BYTE_ORDER == __LITTLE_ENDIAN
union ldshape {

View File

@ -79,6 +79,7 @@
*/
#include "libm.h"
#include "libc.h"
static const double
two52= 4.50359962737049600000e+15, /* 0x43300000, 0x00000000 */

View File

@ -14,6 +14,7 @@
*/
#include "libm.h"
#include "libc.h"
static const float
two23= 8.3886080000e+06, /* 0x4b000000 */

View File

@ -87,6 +87,7 @@
#define _GNU_SOURCE
#include "libm.h"
#include "libc.h"
#if LDBL_MANT_DIG == 53 && LDBL_MAX_EXP == 1024
double __lgamma_r(double x, int *sg);

View File

@ -1,4 +1,5 @@
#include "libm.h"
#include <math.h>
#include "libc.h"
int __signgam = 0;