From: Roland McGrath Date: Sun, 23 Mar 2003 09:59:34 +0000 (+0000) Subject: 2003-03-23 Roland McGrath X-Git-Tag: upstream/2.30~19639 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=24eaaef61dffee283b6d32328f3e5126063d9d2a;p=external%2Fglibc.git 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. --- 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 , 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"