]> sourceware.org Git - glibc.git/commitdiff
2003-03-16 Roland McGrath <roland@redhat.com>
authorRoland McGrath <roland@gnu.org>
Mon, 17 Mar 2003 02:48:28 +0000 (02:48 +0000)
committerRoland McGrath <roland@gnu.org>
Mon, 17 Mar 2003 02:48:28 +0000 (02:48 +0000)
* tst-fork4.c: Include <string.h>.
* tst-signal2.c: Likewise.
* tst-mutex5.c (do_test): exit -> return.
* tst-mutex2.c: Include <stdlib.h>.

nptl/tst-fork4.c
nptl/tst-mutex2.c
nptl/tst-mutex5.c
nptl/tst-signal2.c

index 7cb0f9c1f2bb76964328330aeb7f592aacb5b2b8..cca19f406fd454c5a3b2324e966170e86bb4ca54 100644 (file)
@@ -23,6 +23,7 @@
 #include <unistd.h>
 #include <sys/types.h>
 #include <sys/wait.h>
+#include <string.h>
 
 
 static int
index ee90fa73461b5e6c80f4a031a81161ff8a78c91f..f589a1ea174e661646d4f143642829013b91eac7 100644 (file)
@@ -20,6 +20,7 @@
 #include <errno.h>
 #include <pthread.h>
 #include <stdio.h>
+#include <stdlib.h>
 
 
 static pthread_mutex_t m;
index 2ade6a7f8355856df1f3dd32d32780bb365ae5c9..7c414bc33968374d272a39cdb9acc7c3a64eb62a 100644 (file)
@@ -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)
index 1c0a4118bdba9f3fd938d6e15f13fa24634c02a3..3f2c75d1fb23bf9791fcfb5f19731bfbb67d7349 100644 (file)
@@ -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.
 
@@ -25,6 +25,7 @@
 #include <unistd.h>
 #include <sys/mman.h>
 #include <sys/wait.h>
+#include <string.h>
 
 
 static sigset_t ss;
This page took 0.042419 seconds and 5 git commands to generate.