]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - nptl/tst-fork1.c
Update copyright dates with scripts/update-copyrights.
[thirdparty/glibc.git] / nptl / tst-fork1.c
index c882b7c63d0518c095fa283a5d10cb05fbcaff97..5140760ce3467928b22b5673c77818e4ef61dc50 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002-2015 Free Software Foundation, Inc.
+/* Copyright (C) 2002-2019 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Roland McGrath <roland@redhat.com>, 2002.
 
@@ -64,8 +64,8 @@ thread_function (void * arg)
 #define N 5
 static const int t[N] = { 7, 6, 5, 4, 3 };
 
-int
-main (void)
+static int
+do_test (void)
 {
   pthread_t th[N];
   int i;
@@ -117,3 +117,5 @@ main (void)
 
   return result;
 }
+
+#include <support/test-driver.c>