8ae002
commit ffaa74cf68a370e232279a9a9b0a02ade287cc99
8ae002
Author: Siddhesh Poyarekar <siddhesh@redhat.com>
8ae002
Date:   Mon Feb 18 18:17:05 2013 +0530
8ae002
8ae002
    Fix build warnings in some test cases
8ae002
    
8ae002
    Include stdlib.h to get declaration of exit(3)
8ae002
8ae002
Index: b/misc/tst-pselect.c
8ae002
===================================================================
8ae002
--- a/misc/tst-pselect.c
8ae002
+++ b/misc/tst-pselect.c
8ae002
@@ -4,6 +4,7 @@
8ae002
 #include <unistd.h>
8ae002
 #include <sys/select.h>
8ae002
 #include <sys/wait.h>
8ae002
+#include <stdlib.h>
8ae002
 
8ae002
 
8ae002
 static volatile int handler_called;
8ae002
Index: b/nptl/sysdeps/pthread/tst-timer.c
8ae002
===================================================================
8ae002
--- a/nptl/sysdeps/pthread/tst-timer.c
8ae002
+++ b/nptl/sysdeps/pthread/tst-timer.c
8ae002
@@ -22,6 +22,7 @@
8ae002
 #include <stdio.h>
8ae002
 #include <time.h>
8ae002
 #include <unistd.h>
8ae002
+#include <stdlib.h>
8ae002
 
8ae002
 
8ae002
 static void
8ae002
Index: b/nptl/tst-barrier4.c
8ae002
===================================================================
8ae002
--- a/nptl/tst-barrier4.c
8ae002
+++ b/nptl/tst-barrier4.c
8ae002
@@ -20,6 +20,7 @@
8ae002
 #include <errno.h>
8ae002
 #include <pthread.h>
8ae002
 #include <stdio.h>
8ae002
+#include <stdlib.h>
8ae002
 
8ae002
 
8ae002
 static pthread_barrier_t b1;
8ae002
Index: b/nptl/tst-robust7.c
8ae002
===================================================================
8ae002
--- a/nptl/tst-robust7.c
8ae002
+++ b/nptl/tst-robust7.c
8ae002
@@ -20,6 +20,7 @@
8ae002
 #include <pthread.h>
8ae002
 #include <stdbool.h>
8ae002
 #include <stdio.h>
8ae002
+#include <stdlib.h>
8ae002
 
8ae002
 
8ae002
 static pthread_barrier_t b;