[LTP] [PATCH 07/19] fix old style function definition in memcg_process_stress.c

Michael Moese mmoese@suse.de
Wed Jan 24 14:03:00 CET 2018


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

diff --git a/testcases/kernel/controllers/memcg/stress/memcg_process_stress.c b/testcases/kernel/controllers/memcg/stress/memcg_process_stress.c
index 92627fe46..870575c26 100644
--- a/testcases/kernel/controllers/memcg/stress/memcg_process_stress.c
+++ b/testcases/kernel/controllers/memcg/stress/memcg_process_stress.c
@@ -37,7 +37,7 @@ unsigned long memsize;
 char **pages;
 int nr_page;
 
-void touch_memory()
+void touch_memory(void)
 {
 	int i;
 
-- 
2.13.6



More information about the ltp mailing list