]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - libio/tst-fseek.c
Update copyright dates with scripts/update-copyrights.
[thirdparty/glibc.git] / libio / tst-fseek.c
index 457a0877850d27995df21af69cfd42809de162c4..57203d919c65e14cd83e88d9cf214d17ba9aa755 100644 (file)
@@ -1,5 +1,5 @@
 /* Verify that fseek/ftell combination works for wide chars.
-   Copyright (C) 2012 Free Software Foundation, Inc.
+   Copyright (C) 2012-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
@@ -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>