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