From 24eaaef61dffee283b6d32328f3e5126063d9d2a Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sun, 23 Mar 2003 09:59:34 +0000 Subject: 2003-03-23 Roland McGrath * tst-mutex4.c: Use test-skeleton.c. * tst-spin2.c: Likewise. * tst-sysconf.c: Likewise. * tst-barrier2.c: Likewise. * tst-cond4.c: Likewise. * tst-cond6.c: Likewise. * tst-rwlock4.c: Likewise. * tst-flock2.c (do_test): Use return instead of exit. --- nptl/tst-sysconf.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'nptl') diff --git a/nptl/tst-sysconf.c b/nptl/tst-sysconf.c index b8ab7b0ca7..3ad1b6a3c9 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 , 2002. @@ -22,8 +22,8 @@ #include -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" -- cgit 1.4.1