diff options
author | bde <bde@FreeBSD.org> | 2008-02-15 07:01:40 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 2008-02-15 07:01:40 +0000 |
commit | febd0ab45ed442b3d2823f2f18188e9f3ef4a5ea (patch) | |
tree | 0baf6e95ac9dc45c85a1e68d0c25f3c368335957 /lib/msun | |
parent | 7163c9c1fc72b6c11746304914180fa8563e627e (diff) | |
download | FreeBSD-src-febd0ab45ed442b3d2823f2f18188e9f3ef4a5ea.zip FreeBSD-src-febd0ab45ed442b3d2823f2f18188e9f3ef4a5ea.tar.gz |
Sigh, the weak reference for ceill(), floorl() and truncl() was in
unreachable code due to a missing include. This kept arm and powerpc
broken.
Reported by: sam, grehan
Diffstat (limited to 'lib/msun')
-rw-r--r-- | lib/msun/src/s_ceil.c | 7 | ||||
-rw-r--r-- | lib/msun/src/s_floor.c | 7 | ||||
-rw-r--r-- | lib/msun/src/s_trunc.c | 2 |
3 files changed, 10 insertions, 6 deletions
diff --git a/lib/msun/src/s_ceil.c b/lib/msun/src/s_ceil.c index b25c217..929f813 100644 --- a/lib/msun/src/s_ceil.c +++ b/lib/msun/src/s_ceil.c @@ -10,9 +10,8 @@ * ==================================================== */ -#ifndef lint -static char rcsid[] = "$FreeBSD$"; -#endif +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); /* * ceil(x) @@ -23,6 +22,8 @@ static char rcsid[] = "$FreeBSD$"; * Inexact flag raised if x not equal to ceil(x). */ +#include <float.h> + #include "math.h" #include "math_private.h" diff --git a/lib/msun/src/s_floor.c b/lib/msun/src/s_floor.c index 582a01a..65f696a 100644 --- a/lib/msun/src/s_floor.c +++ b/lib/msun/src/s_floor.c @@ -10,9 +10,8 @@ * ==================================================== */ -#ifndef lint -static char rcsid[] = "$FreeBSD$"; -#endif +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); /* * floor(x) @@ -23,6 +22,8 @@ static char rcsid[] = "$FreeBSD$"; * Inexact flag raised if x not equal to floor(x). */ +#include <float.h> + #include "math.h" #include "math_private.h" diff --git a/lib/msun/src/s_trunc.c b/lib/msun/src/s_trunc.c index 0b3089e..86e97bd 100644 --- a/lib/msun/src/s_trunc.c +++ b/lib/msun/src/s_trunc.c @@ -22,6 +22,8 @@ __FBSDID("$FreeBSD$"); * Inexact flag raised if x not equal to trunc(x). */ +#include <float.h> + #include "math.h" #include "math_private.h" |