[LTP] [PATCH 06/19] fix old style definition in pidns06.c

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


Signed-off-by: Michael Moese <mmoese@suse.de>
---
 testcases/kernel/containers/pidns/pidns06.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testcases/kernel/containers/pidns/pidns06.c b/testcases/kernel/containers/pidns/pidns06.c
index cdb472640..6afcc81ee 100644
--- a/testcases/kernel/containers/pidns/pidns06.c
+++ b/testcases/kernel/containers/pidns/pidns06.c
@@ -112,7 +112,7 @@ static void setup(void)
 	check_newpid();
 }
 
-int main()
+int main(void)
 {
 	int status;
 
-- 
2.13.6



More information about the ltp mailing list