diff options
Diffstat (limited to 'sysdeps/ieee754/flt-32/s_lroundf.c')
-rw-r--r-- | sysdeps/ieee754/flt-32/s_lroundf.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sysdeps/ieee754/flt-32/s_lroundf.c b/sysdeps/ieee754/flt-32/s_lroundf.c index 116c9e0627..20e7216640 100644 --- a/sysdeps/ieee754/flt-32/s_lroundf.c +++ b/sysdeps/ieee754/flt-32/s_lroundf.c @@ -1,5 +1,5 @@ /* Round float value to long int. - Copyright (C) 1997-2016 Free Software Foundation, Inc. + Copyright (C) 1997-2018 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. @@ -22,6 +22,7 @@ #include <math.h> #include <math_private.h> +#include <libm-alias-float.h> #include <fix-fp-int-convert-overflow.h> @@ -29,7 +30,7 @@ long int __lroundf (float x) { int32_t j0; - u_int32_t i; + uint32_t i; long int result; int sign; @@ -70,4 +71,4 @@ __lroundf (float x) return sign * result; } -weak_alias (__lroundf, lroundf) +libm_alias_float (__lround, lround) |