[LTP] [PATCH 01/19] fix warning on old style function definition

Michael Moese mmoese@suse.de
Wed Jan 24 14:02:54 CET 2018


Signed-off-by: Michael Moese <mmoese@suse.de>
---
 testcases/misc/f00f/f00f.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/testcases/misc/f00f/f00f.c b/testcases/misc/f00f/f00f.c
index 3f10b9aed..5fdc6da1a 100644
--- a/testcases/misc/f00f/f00f.c
+++ b/testcases/misc/f00f/f00f.c
@@ -52,7 +52,7 @@ void sigill(int sig)
 	tst_exit();
 }
 
-int main()
+int main(void)
 {
 	signal(SIGILL, sigill);
 	tst_resm(TINFO, "Testing for proper f00f instruction handling.");
@@ -73,7 +73,7 @@ int main()
 
 #else /* __i386__ */
 
-int main()
+int main(void)
 {
 	tst_brkm(TCONF, NULL, "f00f bug test only for i386");
 }
-- 
2.13.6



More information about the ltp mailing list