From abfbe76cb5adff2e7c9ddd4dc10c3dcc641d8949 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 14 Feb 2016 03:55:33 +0100 Subject: libm: remove dead code _IEEE_LIBM is always defined, so the other code is never used. I don't know when it was actively used. --- libm/s_matherr.c | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 libm/s_matherr.c (limited to 'libm/s_matherr.c') diff --git a/libm/s_matherr.c b/libm/s_matherr.c deleted file mode 100644 index 9a50459c8..000000000 --- a/libm/s_matherr.c +++ /dev/null @@ -1,24 +0,0 @@ -/* - * ==================================================== - * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. - * - * Developed at SunPro, a Sun Microsystems, Inc. business. - * Permission to use, copy, modify, and distribute this - * software is freely granted, provided that this notice - * is preserved. - * ==================================================== - */ - -#include "math.h" -#include "math_private.h" - -#ifndef _IEEE_LIBM - -int matherr(struct exception *x) -{ - int n=0; - if(x->arg1!=x->arg1) return 0; - return n; -} -libm_hidden_def(matherr) -#endif -- cgit v1.2.3