[LTP] [PATCH 16/19] fix old style definitions in cpuctl_def_task04.c

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


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

diff --git a/testcases/kernel/controllers/cpuctl/cpuctl_def_task04.c b/testcases/kernel/controllers/cpuctl/cpuctl_def_task04.c
index c3348fb31..108e576e1 100644
--- a/testcases/kernel/controllers/cpuctl/cpuctl_def_task04.c
+++ b/testcases/kernel/controllers/cpuctl/cpuctl_def_task04.c
@@ -70,7 +70,7 @@ char *TCID = "cpu_controller_test06";
 int TST_TOTAL = 2;
 pid_t scriptpid;
 char path[] = "/dev/cpuctl";
-extern void cleanup()
+extern void cleanup(void)
 {
 	kill(scriptpid, SIGUSR1);	/* Inform the shell to do cleanup */
 	/* Report exit status */
-- 
2.13.6



More information about the ltp mailing list