mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 19:00:07 +00:00
Fix build warnings in some test cases
Include stdlib.h to get declaration of exit(3)
This commit is contained in:
parent
be179c8a36
commit
ffaa74cf68
@ -1,5 +1,10 @@
|
||||
2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
|
||||
|
||||
* misc/tst-pselect.c: Include stdlib.h for declaration of exit.
|
||||
* nptl/sysdeps/pthread/tst-timer.c: Likewise.
|
||||
* nptl/tst-barrier4.c: Likewise.
|
||||
* nptl/tst-robust7.c: Likewise.
|
||||
|
||||
* elf/Versions (ld): Add _dl_find_dso_for_object.
|
||||
* elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
|
||||
* elf/dl-open.c (_dl_find_dso_for_object): New function.
|
||||
|
@ -4,6 +4,7 @@
|
||||
#include <unistd.h>
|
||||
#include <sys/select.h>
|
||||
#include <sys/wait.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
|
||||
static volatile int handler_called;
|
||||
|
@ -22,6 +22,7 @@
|
||||
#include <stdio.h>
|
||||
#include <time.h>
|
||||
#include <unistd.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
|
||||
static void
|
||||
|
@ -20,6 +20,7 @@
|
||||
#include <errno.h>
|
||||
#include <pthread.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
|
||||
static pthread_barrier_t b1;
|
||||
|
@ -20,6 +20,7 @@
|
||||
#include <pthread.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
|
||||
static pthread_barrier_t b;
|
||||
|
Loading…
Reference in New Issue
Block a user