From 10614335d1237704a5496758185ad7eb4bd65287 Mon Sep 17 00:00:00 2001 From: "Gabriel F. T. Gomes" Date: Tue, 28 Mar 2017 14:48:57 -0300 Subject: Change return type in the declaration of __ieee754_rem_pio2l The implementation of __ieee754_rem_pio2l in ldbl-128, ldbl-128ibm, and ldbl-96 return the type int32_t, whereas math_private.h declares it as returning int. This patch changes the declaration to match the declaration in thoses directories, as well as it changes the stub implementation in math/e_rem_pio2l.c, similarly. * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type to int32_t. * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l as returning int32_t. --- math/e_rem_pio2l.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'math') diff --git a/math/e_rem_pio2l.c b/math/e_rem_pio2l.c index 03ac2efbc3..2ea873bbab 100644 --- a/math/e_rem_pio2l.c +++ b/math/e_rem_pio2l.c @@ -3,7 +3,7 @@ #include #include -int +int32_t __ieee754_rem_pio2l (long double x, long double *y) { fputs ("__ieee754_rem_pio2l not implemented\n", stderr); -- cgit v1.2.1