]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - nptl/tst-sem7.c
Add per-thread cache to malloc
[thirdparty/glibc.git] / nptl / tst-sem7.c
index 34ddb4058a183a5c11fb655f4777faaf2d9a19cf..d59ecd9f4b807cb53fa4ec17e394a7643bded77e 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 Free Software Foundation, Inc.
+/* Copyright (C) 2003-2017 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@redhat.com>, 2003.
 
@@ -31,8 +31,8 @@ remove_sem (int status, void *arg)
 }
 
 
-int
-main (void)
+static int
+do_test (void)
 {
   sem_t *s;
   sem_t *s2;
@@ -106,3 +106,6 @@ main (void)
 
   return 0;
 }
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"