]> git.mdlowis.com Git - proto/labwc.git/commitdiff
include/common/buf.h: fix declaration/definition arg name difference
authorJohan Malm <jgm323@gmail.com>
Wed, 1 Oct 2025 19:48:15 +0000 (20:48 +0100)
committerJohan Malm <johanmalm@users.noreply.github.com>
Wed, 1 Oct 2025 20:18:44 +0000 (21:18 +0100)
include/common/buf.h

index 857b6c48502a1bc85f7b30f1d8141df5b938916d..24158630884f89f4042a5f6aadb9e165c66463ad 100644 (file)
@@ -71,9 +71,9 @@ void buf_add(struct buf *s, const char *data);
 /**
  * buf_add_char - add single char to C string buffer
  * @s: buffer
- * @data: char to be added
+ * @ch: char to be added
  */
-void buf_add_char(struct buf *s, char data);
+void buf_add_char(struct buf *s, char ch);
 
 /**
  * buf_clear - clear the buffer, internal allocations are preserved