OSDN Git Service

softfloat: rename canonicalize to sf_canonicalize
authorEmilio G. Cota <cota@braap.org>
Tue, 27 Mar 2018 16:57:22 +0000 (12:57 -0400)
committerAlex Bennée <alex.bennee@linaro.org>
Mon, 17 Dec 2018 08:25:25 +0000 (08:25 +0000)
commitf9943c7f766678af36d31076b78e466256f4871b
treee91673c99ef912f30e0638ed108a05d9178e0e9c
parentb8c547000dbaa403f524663e05ee2b1e69d3953f
softfloat: rename canonicalize to sf_canonicalize

glibc >= 2.25 defines canonicalize in commit eaf5ad0
(Add canonicalize, canonicalizef, canonicalizel., 2016-10-26).

Given that we'll be including <math.h> soon, prepare
for this by prefixing our canonicalize() with sf_ to avoid
clashing with the libc's canonicalize().

Reported-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Tested-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Emilio G. Cota <cota@braap.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
fpu/softfloat.c