]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - math/libm-test-tanh.inc
Remove __LIBC_INTERNAL_MATH_INLINES
[thirdparty/glibc.git] / math / libm-test-tanh.inc
index 1ce26a7e3e095714a0334ed358fab01cc20b0957..7c49e38bd4c1ed904a9efe5f51acbaa39704aca9 100644 (file)
@@ -1,5 +1,5 @@
 /* Test tanh.
-   Copyright (C) 1997-2017 Free Software Foundation, Inc.
+   Copyright (C) 1997-2020 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
@@ -14,7 +14,9 @@
 
    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/>.  */
+
+#include "libm-test-driver.c"
 
 static const struct test_f_f_data tanh_test_data[] =
   {
@@ -34,6 +36,12 @@ tanh_test (void)
   ALL_RM_TEST (tanh, 0, tanh_test_data, RUN_TEST_LOOP_f_f, END);
 }
 
+static void
+do_test (void)
+{
+  tanh_test ();
+}
+
 /*
  * Local Variables:
  * mode:c