]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - math/libm-test-fmax.inc
time/tst-strftime2.c: Make the file easier to maintain
[thirdparty/glibc.git] / math / libm-test-fmax.inc
index 950a2cbb0c715ac446095eddc79fc094e4722362..7bc3268bf10ee31bc55ea72349b9b4540331326e 100644 (file)
@@ -1,5 +1,5 @@
 /* Test fmax.
-   Copyright (C) 1997-2017 Free Software Foundation, Inc.
+   Copyright (C) 1997-2019 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
@@ -16,6 +16,8 @@
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
+#include "libm-test-driver.c"
+
 static const struct test_ff_f_data fmax_test_data[] =
   {
     TEST_ff_f (fmax, 0, 0, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
@@ -115,6 +117,12 @@ fmax_test (void)
   ALL_RM_TEST (fmax, 1, fmax_test_data, RUN_TEST_LOOP_ff_f, END);
 }
 
+static void
+do_test (void)
+{
+  fmax_test ();
+}
+
 /*
  * Local Variables:
  * mode:c