Hi,
these three patches fixes missing return 0; statements.

Signed-off-by: Cyril Hrubis [email protected]

-- 
Cyril Hrubis
[email protected]
Index: ltp-full-20090430/testcases/kernel/io/aio/aio02/main.c
===================================================================
--- ltp-full-20090430.orig/testcases/kernel/io/aio/aio02/main.c
+++ ltp-full-20090430/testcases/kernel/io/aio/aio02/main.c
@@ -34,7 +34,9 @@ int TST_TOTAL=0;
 
 int main(void)
 {
-  tst_brkm(TCONF, tst_exit, "libaio missing");
+	tst_brkm(TCONF, tst_exit, "libaio missing");
+
+	return 0;
 }
 
 #endif
Index: ltp-full-20090430/testcases/kernel/io/aio/aio01/aio01.c
===================================================================
--- ltp-full-20090430.orig/testcases/kernel/io/aio/aio01/aio01.c
+++ ltp-full-20090430/testcases/kernel/io/aio/aio01/aio01.c
@@ -426,7 +426,9 @@ void cleanup() {
 
 int main(void)
 {
-  tst_brkm(TCONF, tst_exit, "libaio missing");
+	tst_brkm(TCONF, tst_exit, "libaio missing");
+
+	return 0;
 }
 
 #endif
Index: ltp-full-20090430/testcases/kernel/security/integrity/ima/src/ima_mmap.c
===================================================================
--- ltp-full-20090430.orig/testcases/kernel/security/integrity/ima/src/ima_mmap.c
+++ ltp-full-20090430/testcases/kernel/security/integrity/ima/src/ima_mmap.c
@@ -48,4 +48,6 @@ int main(int argc, char *argv[])
 		perror("unmap");
 		return(-1);
 	}
+
+	return 0;
 }
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to