]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - math/test-matherr.c
math: test-matherr and test-matherr-2 can be regular tests
[thirdparty/glibc.git] / math / test-matherr.c
index e68a4a3af1f95050636c849a626cd7197ab7ddd7..aed396e420d63a855d1165c0383458eb6bcea7a8 100644 (file)
 #include <math-svid-compat.h>
 #include <shlib-compat.h>
 
-#if TEST_COMPAT (libm, GLIBC_2_0, GLIBC_2_27)
-
-# undef matherr
-# undef _LIB_VERSION
+#undef matherr
+#undef _LIB_VERSION
 compat_symbol_reference (libm, matherr, matherr, GLIBC_2_0);
 compat_symbol_reference (libm, _LIB_VERSION, _LIB_VERSION, GLIBC_2_0);
 
@@ -47,12 +45,5 @@ do_test (void)
   acos (2.0);
   return fail;
 }
-#else
-static int
-do_test (void)
-{
-  return 77;
-}
-#endif
 
 #include <support/test-driver.c>