]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - sysdeps/m68k/coldfire/fpu/s_rintf.c
Prefer https to http for gnu.org and fsf.org URLs
[thirdparty/glibc.git] / sysdeps / m68k / coldfire / fpu / s_rintf.c
index 07d989332e89773a2b30a93cf55d36dafbcff1cb..745ed654be7a10da37982ec1b99723ec60e9d203 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2006-2016 Free Software Foundation, Inc.
+/* Copyright (C) 2006-2019 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
 
    You should have received a copy of the GNU Lesser General Public
    License along with the GNU C Library.  If not, see
-   <http://www.gnu.org/licenses/>.  */
+   <https://www.gnu.org/licenses/>.  */
+
+#define NO_MATH_REDIRECT
+#include <libm-alias-float.h>
 
 float
 __rintf (float x)
@@ -22,4 +25,4 @@ __rintf (float x)
   asm ("fint.s %1,%0" : "=f" (result) : "dm" (x));
   return (float) result;
 }
-weak_alias (__rintf, rintf)
+libm_alias_float (__rint, rint)