Skip to contentSkip to conversation

fix missing return in several files.

PATCH New Cyril Hrubis 1 participant 1 message May 14, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix missing return in several files.

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

Signature · 2 lines
Cyril Hrubis
[email protected]
testcases/kernel/io/aio/aio02/main.c +3 -1
Index: 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
testcases/kernel/io/aio/aio01/aio01.c +3 -1
Index: 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
testcases/kernel/io/aio/aio01/aio01.c +3 -1
Index: 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

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com

_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list