978e96
Use <support/test-driver.c> in stdlib/tst-strtod-overflow.c
978e96
978e96
This downstream-only patch is needed because test-skeleton.c contains
978e96
a copy of the old test skeleton (unlike upstream), resulting in the
978e96
following error:
978e96
978e96
In file included from tst-strtod-overflow.c:53:0:
978e96
../test-skeleton.c:65:20: error: static declaration of 'test_dir' follows non-static declaration
978e96
 static const char *test_dir;
978e96
                    ^
978e96
In file included from tst-strtod-overflow.c:23:0:
978e96
../support/test-driver.h:65:20: note: previous declaration of 'test_dir' was here
978e96
 extern const char *test_dir;
978e96
                    ^
978e96
978e96
diff --git a/stdlib/tst-strtod-overflow.c b/stdlib/tst-strtod-overflow.c
978e96
index fd1be79f3f58c64b..2b30947d9a9fa03a 100644
978e96
--- a/stdlib/tst-strtod-overflow.c
978e96
+++ b/stdlib/tst-strtod-overflow.c
978e96
@@ -48,6 +48,4 @@ do_test (void)
978e96
   return 0;
978e96
 }
978e96
 
978e96
-#define TEST_FUNCTION do_test ()
978e96
-#define TIMEOUT 5
978e96
-#include "../test-skeleton.c"
978e96
+#include <support/test-driver.c>