aboutsummaryrefslogtreecommitdiff
path: root/nptl
diff options
context:
space:
mode:
Diffstat (limited to 'nptl')
-rw-r--r--nptl/tst-sysconf.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/nptl/tst-sysconf.c b/nptl/tst-sysconf.c
index b8ab7b0..3ad1b6a 100644
--- a/nptl/tst-sysconf.c
+++ b/nptl/tst-sysconf.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002 Free Software Foundation, Inc.
+/* Copyright (C) 2002, 2003 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
@@ -22,8 +22,8 @@
#include <unistd.h>
-int
-main (void)
+static int
+do_test (void)
{
puts ("We expect no limits");
/* We have no fixed limit on the number of threads. Make sure the
@@ -43,3 +43,6 @@ main (void)
return 0;
}
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"