[PATCH:xpr] Remove unneeded uses of <math.h> & -lm
Gaetan Nadon
memsize at videotron.ca
Sun Nov 17 04:37:50 PST 2013
On 13-11-16 01:23 PM, Alan Coopersmith wrote:
> On 11/16/13 07:12 AM, Gaetan Nadon wrote:
>> On 13-11-16 02:05 AM, Alan Coopersmith wrote:
>>> Can't see why they were ever needed.
>>>
>>> Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
>>> ---
>>> Makefile.am | 2 +-
>>> x2pmp.c | 1 -
>>> 2 files changed, 1 insertion(+), 2 deletions(-)
>>
>> If sqrt won't be used in the future (educated guess)
>> If all supported platforms have a correct C implementation of math
>> functions currently used
>
> There's no math functions currently used - the closest I see is abs(),
> but that's in the standard C library, not libm. x2pmp doesn't even
> declare any variables of float or double types. (Other files do, but
> they only seem to do simple arithmetic with them, not call any libm
> functions.)
>
>
Great. thanks
More information about the xorg-devel
mailing list