Applied warnings patch to syscall tests from Saji Kumar <saji.kumar@wipro.com>.
diff --git a/testcases/kernel/syscalls/chroot/chroot02.c b/testcases/kernel/syscalls/chroot/chroot02.c
index a352e9a..77f0770 100644
--- a/testcases/kernel/syscalls/chroot/chroot02.c
+++ b/testcases/kernel/syscalls/chroot/chroot02.c
@@ -45,6 +45,7 @@
 
 #include <sys/types.h>
 #include <sys/stat.h>
+#include <sys/wait.h>
 #include <errno.h>
 #include <test.h>
 #include <usctest.h>
@@ -61,6 +62,7 @@
 void setup(void);
 void cleanup(void);
 
+int
 main(int ac, char **av)
 {
 	int lc;				/* loop counter */
@@ -119,6 +121,7 @@
 	}
 	cleanup();
 
+	return 0;
 	/*NOTREACHED*/
 }