* tst-fork4.c: Include <string.h>.
* tst-signal2.c: Likewise.
* tst-mutex5.c (do_test): exit -> return.
* tst-mutex2.c: Include <stdlib.h>.
#include <unistd.h>
#include <sys/types.h>
#include <sys/wait.h>
+#include <string.h>
static int
#include <errno.h>
#include <pthread.h>
#include <stdio.h>
+#include <stdlib.h>
static pthread_mutex_t m;
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)
-/* 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.
#include <unistd.h>
#include <sys/mman.h>
#include <sys/wait.h>
+#include <string.h>
static sigset_t ss;