Module Name: src Committed By: he Date: Sun Aug 28 21:24:09 UTC 2022
Modified Files: src/lib/libm/src: s_rint.c Log Message: s_rint.c: weak-alias rintl -> rint for ports without __HAVE_LONG_DOUBLE. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/lib/libm/src/s_rint.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libm/src/s_rint.c diff -u src/lib/libm/src/s_rint.c:1.12 src/lib/libm/src/s_rint.c:1.13 --- src/lib/libm/src/s_rint.c:1.12 Fri Apr 25 22:21:53 2008 +++ src/lib/libm/src/s_rint.c Sun Aug 28 21:24:09 2022 @@ -12,7 +12,7 @@ #include <sys/cdefs.h> #if defined(LIBM_SCCS) && !defined(lint) -__RCSID("$NetBSD: s_rint.c,v 1.12 2008/04/25 22:21:53 christos Exp $"); +__RCSID("$NetBSD: s_rint.c,v 1.13 2022/08/28 21:24:09 he Exp $"); #endif /* @@ -77,3 +77,7 @@ rint(double x) w = TWO52[sx]+x; return w-TWO52[sx]; } + +#if !defined(__HAVE_LONG_DOUBLE) +__weak_alias(rintl, rint) +#endif