From: Roland McGrath Date: Mon, 17 Mar 2003 02:48:28 +0000 (+0000) Subject: 2003-03-16 Roland McGrath X-Git-Tag: cvs/glibc-2_3_3~1198 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2c5567a08e9b05c86f4e7272478beb69286ef93d;p=thirdparty%2Fglibc.git 2003-03-16 Roland McGrath * tst-fork4.c: Include . * tst-signal2.c: Likewise. * tst-mutex5.c (do_test): exit -> return. * tst-mutex2.c: Include . --- diff --git a/nptl/tst-fork4.c b/nptl/tst-fork4.c index 7cb0f9c1f2b..cca19f406fd 100644 --- a/nptl/tst-fork4.c +++ b/nptl/tst-fork4.c @@ -23,6 +23,7 @@ #include #include #include +#include static int diff --git a/nptl/tst-mutex2.c b/nptl/tst-mutex2.c index ee90fa73461..f589a1ea174 100644 --- a/nptl/tst-mutex2.c +++ b/nptl/tst-mutex2.c @@ -20,6 +20,7 @@ #include #include #include +#include static pthread_mutex_t m; diff --git a/nptl/tst-mutex5.c b/nptl/tst-mutex5.c index 2ade6a7f835..7c414bc3396 100644 --- a/nptl/tst-mutex5.c +++ b/nptl/tst-mutex5.c @@ -139,7 +139,7 @@ do_test (void) if (tv2.tv_sec > 0 || tv2.tv_usec > 100000) { puts ("3rd timedlock didn't return right away"); - exit (1); + return 1; } if (pthread_mutex_destroy (&m) != 0) diff --git a/nptl/tst-signal2.c b/nptl/tst-signal2.c index 1c0a4118bdb..3f2c75d1fb2 100644 --- a/nptl/tst-signal2.c +++ b/nptl/tst-signal2.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. @@ -25,6 +25,7 @@ #include #include #include +#include static sigset_t ss;