]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - math/feholdexcpt.c
powerpc: Fix build of wcscpy with --disable-multi-arch
[thirdparty/glibc.git] / math / feholdexcpt.c
index 8680d1e492863f51dccfca8afcb7b5c867dc0166..fa6514f0f49df1f7fb50788e36f883584705a7f2 100644 (file)
@@ -1,5 +1,5 @@
 /* Store current floating-point environment and clear exceptions.
-   Copyright (C) 1997, 2005 Free Software Foundation, Inc.
+   Copyright (C) 1997-2019 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
 
    Lesser General Public License for more details.
 
    You should have received a copy of the GNU Lesser General Public
-   License along with the GNU C Library; if not, write to the Free
-   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-   02111-1307 USA.  */
+   License along with the GNU C Library; if not, see
+   <http://www.gnu.org/licenses/>.  */
 
 #include <fenv.h>
 
 int
-feholdexcept (fenv_t *envp)
+__feholdexcept (fenv_t *envp)
 {
-  return 1;            /* Signal failure.  */
+  /* No exception traps to disable and no state to save.  */
+  return 0;
 }
-libm_hidden_def (feholdexcept)
+libm_hidden_def (__feholdexcept)
+weak_alias (__feholdexcept, feholdexcept)
+libm_hidden_weak (feholdexcept)
 stub_warning (feholdexcept)
-#include <stub-tag.h>