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