From febd0ab45ed442b3d2823f2f18188e9f3ef4a5ea Mon Sep 17 00:00:00 2001 From: bde Date: Fri, 15 Feb 2008 07:01:40 +0000 Subject: 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 --- lib/msun/src/s_ceil.c | 7 ++++--- lib/msun/src/s_floor.c | 7 ++++--- lib/msun/src/s_trunc.c | 2 ++ 3 files changed, 10 insertions(+), 6 deletions(-) (limited to 'lib/msun/src') 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 +__FBSDID("$FreeBSD$"); /* * ceil(x) @@ -23,6 +22,8 @@ static char rcsid[] = "$FreeBSD$"; * Inexact flag raised if x not equal to ceil(x). */ +#include + #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 +__FBSDID("$FreeBSD$"); /* * floor(x) @@ -23,6 +22,8 @@ static char rcsid[] = "$FreeBSD$"; * Inexact flag raised if x not equal to floor(x). */ +#include + #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 + #include "math.h" #include "math_private.h" -- cgit v1.1