[LTP] [PATCH 03/19] fix old style definition in nfs_lock.c

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


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

diff --git a/testcases/network/nfs/nfslock01/nfs_flock.c b/testcases/network/nfs/nfslock01/nfs_flock.c
index 39f612599..a7673c751 100644
--- a/testcases/network/nfs/nfslock01/nfs_flock.c
+++ b/testcases/network/nfs/nfslock01/nfs_flock.c
@@ -13,9 +13,7 @@
 #define BYTES 64
 #define LINES 16384
 
-int main(argc, argv)
-int argc;
-char **argv;
+int main(int argc, char **argv)
 {
 	int i, fd, mac;
 	int offset = 0;
-- 
2.13.6



More information about the ltp mailing list