diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | math/w_ilogb.c | 2 | ||||
-rw-r--r-- | math/w_ilogbf.c | 1 | ||||
-rw-r--r-- | math/w_ilogbl.c | 1 |
4 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog index f37974a9e3..4c474bb41f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-07-22 Thomas Schwinge <thomas@codesourcery.com> + + * math/w_ilogb.c: Include <limits.h>. + * math/w_ilogbl.c: Likewise. + 2012-07-20 Joseph Myers <joseph@codesourcery.com> * manual/lang.texi (__va_copy): Document primarily as ISO C99 diff --git a/math/w_ilogb.c b/math/w_ilogb.c index c87b517c50..7cb897ad1d 100644 --- a/math/w_ilogb.c +++ b/math/w_ilogb.c @@ -18,6 +18,7 @@ #include <math.h> #include <errno.h> +#include <limits.h> #include <math_private.h> /* wrapper ilogb */ @@ -34,7 +35,6 @@ __ilogb (double x) } return r; } - weak_alias (__ilogb, ilogb) #ifdef NO_LONG_DOUBLE strong_alias (__ilogb, __ilogbl) diff --git a/math/w_ilogbf.c b/math/w_ilogbf.c index 27a0c582d3..aa48bc4c30 100644 --- a/math/w_ilogbf.c +++ b/math/w_ilogbf.c @@ -35,5 +35,4 @@ __ilogbf (float x) } return r; } - weak_alias (__ilogbf, ilogbf) diff --git a/math/w_ilogbl.c b/math/w_ilogbl.c index 8c30caa48b..7cfc648e8e 100644 --- a/math/w_ilogbl.c +++ b/math/w_ilogbl.c @@ -18,6 +18,7 @@ #include <math.h> #include <errno.h> +#include <limits.h> #include <math_private.h> /* wrapper ilogbl */ |