mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-11-29 14:50:59 +01:00
MINOR: ist: Rename istappend() to __istappend()
Indicate that this function is not inherently safe by adding two underscores as a prefix.
This commit is contained in:
parent
c8f3e45c6a
commit
fbc2b79743
@ -425,7 +425,7 @@ static inline int istneq(const struct ist ist1, const struct ist ist2, size_t co
|
|||||||
/* appends <src> after <dst>. The caller must ensure that the underlying buffer
|
/* appends <src> after <dst>. The caller must ensure that the underlying buffer
|
||||||
* is large enough to fit the character.
|
* is large enough to fit the character.
|
||||||
*/
|
*/
|
||||||
static inline struct ist istappend(struct ist dst, const char src)
|
static inline struct ist __istappend(struct ist dst, const char src)
|
||||||
{
|
{
|
||||||
dst.ptr[dst.len++] = src;
|
dst.ptr[dst.len++] = src;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user