[LTP] [PATCH 3/3] syscalls/rt_sigqueueinfo01: Fix warnings by removing unused variables

Xiao Yang yangx.jy@cn.fujitsu.com
Wed Apr 20 11:23:19 CEST 2016


Signed-off-by: Xiao Yang <yangx.jy@cn.fujitsu.com>
---
 testcases/kernel/syscalls/rt_sigqueueinfo/rt_sigqueueinfo01.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testcases/kernel/syscalls/rt_sigqueueinfo/rt_sigqueueinfo01.c b/testcases/kernel/syscalls/rt_sigqueueinfo/rt_sigqueueinfo01.c
index 066d315..60757dd 100644
--- a/testcases/kernel/syscalls/rt_sigqueueinfo/rt_sigqueueinfo01.c
+++ b/testcases/kernel/syscalls/rt_sigqueueinfo/rt_sigqueueinfo01.c
@@ -68,7 +68,7 @@ void setup(void)
 	tst_tmpdir();
 }
 
-int main(int ac, char **av)
+int main(void)
 {
 	int status;
 	pid_t pid;
-- 
1.8.3.1





More information about the ltp mailing list