summaryrefslogtreecommitdiff
path: root/dirent/opendir-tst1.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-12-27 19:06:20 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-12-27 19:06:58 +0000
commit3fcbb67b7949a8b362de5558bf1c6dd7ec5d21cf (patch)
treeb867f9a6d3426f212b2f073bef8067a830f13022 /dirent/opendir-tst1.c
parentb6df7ac2cbe11e6a72f2ab7bd35c6130b72d21d9 (diff)
parentcab56836b146bc129f1ad43f0393d95a9deca63a (diff)
Merge commit 'refs/top-bases/t/tls-threadvar' into t/tls-threadvar
Diffstat (limited to 'dirent/opendir-tst1.c')
-rw-r--r--dirent/opendir-tst1.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/dirent/opendir-tst1.c b/dirent/opendir-tst1.c
index e96a817398..81ce31774f 100644
--- a/dirent/opendir-tst1.c
+++ b/dirent/opendir-tst1.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1998-2016 Free Software Foundation, Inc.
+/* Copyright (C) 1998-2018 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998.
@@ -23,6 +23,7 @@
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
+#include <sys/stat.h>
/* Name of the FIFO. */
char tmpname[] = "fifoXXXXXX";
@@ -58,7 +59,7 @@ real_test (void)
static int
-do_test (int argc, char *argv[])
+do_test (void)
{
int retval;
@@ -89,8 +90,6 @@ do_cleanup (void)
{
remove (tmpname);
}
-#define CLEANUP_HANDLER do_cleanup ()
+#define CLEANUP_HANDLER do_cleanup
-
-/* Include the test skeleton. */
-#include <test-skeleton.c>
+#include <support/test-driver.c>