Skip to contentSkip to conversation

argv_split: fix doc warnings in argv_split.c

PATCH New Baokun Li 1 participant 1 message Jun 8, 2021 Library code

lore
Share & tools
lore

Baokun Li

author
#0 lore raw

PATCH 1/1 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'

---
 lib/argv_split.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/argv_split.c +1 -1
index 1a19a0a93dc1..451ecea43b2c 100644
@@ -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.
  */
Signature · 1 line
2.31.1