[LTP] [PATCH 04/19] fix old style definition in mc_gethost.c

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


Signed-off-by: Michael Moese <mmoese@suse.de>
---
 testcases/network/multicast/mc_gethost/mc_gethost.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/testcases/network/multicast/mc_gethost/mc_gethost.c b/testcases/network/multicast/mc_gethost/mc_gethost.c
index a5c5d014c..9cc15d086 100644
--- a/testcases/network/multicast/mc_gethost/mc_gethost.c
+++ b/testcases/network/multicast/mc_gethost/mc_gethost.c
@@ -21,9 +21,7 @@
 #define LOG_PERROR 0
 #endif
 
-int main(argc, argv)
-int argc;
-char **argv;
+int main(int argc, char **argv)
 {
 	unsigned char b_addr[IN6ADDRSZ];
 	struct hostent *host;
-- 
2.13.6



More information about the ltp mailing list