2021-06-08 02:35:01

by Baokun Li

[permalink] [raw]
Subject: [PATCH -next] argv_split: fix doc warnings in argv_split.c

Add description for `argv_free` to fix the W=1 warnings:

lib/argv_split.c:36: warning: Function parameter or
member 'argv' not described in 'argv_free'

Signed-off-by: Baokun Li <[email protected]>
---
lib/argv_split.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/argv_split.c b/lib/argv_split.c
index 1a19a0a93dc1..451ecea43b2c 100644
--- a/lib/argv_split.c
+++ b/lib/argv_split.c
@@ -28,7 +28,7 @@ static int count_argc(const char *str)

/**
* argv_free - free an argv
- * @argv - the argument vector to be freed
+ * @argv: the argument vector to be freed
*
* Frees an argv and the strings it points to.
*/
--
2.31.1