summaryrefslogtreecommitdiff
path: root/libio/tst-fseek.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/tst-fseek.c')
-rw-r--r--libio/tst-fseek.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/libio/tst-fseek.c b/libio/tst-fseek.c
index 9bb0d7f707..1a81740ed9 100644
--- a/libio/tst-fseek.c
+++ b/libio/tst-fseek.c
@@ -24,9 +24,7 @@
#include <unistd.h>
#include <string.h>
-/* Defined in test-skeleton.c. */
-static int create_temp_file (const char *base, char **filename);
-
+#include <support/temp_file.h>
static int
do_seek_end (FILE *fp)
@@ -168,6 +166,4 @@ do_test (void)
return ret;
}
-
-#define TEST_FUNCTION do_test ()
-#include "../test-skeleton.c"
+#include <support/test-driver.c>