include/common/buf.h: fix declaration/definition arg name difference

This commit is contained in:
Johan Malm 2025-10-01 20:48:15 +01:00 committed by Johan Malm
parent 389cef9c3b
commit 4c1e66f6c8

View 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