From fbc2b79743bcb7c5bed7426b484604e696e9d85a Mon Sep 17 00:00:00 2001 From: Tim Duesterhus Date: Thu, 8 Apr 2021 19:28:16 +0200 Subject: [PATCH] MINOR: ist: Rename istappend() to __istappend() Indicate that this function is not inherently safe by adding two underscores as a prefix. --- include/import/ist.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/import/ist.h b/include/import/ist.h index daf23d552..a19e22802 100644 --- a/include/import/ist.h +++ b/include/import/ist.h @@ -425,7 +425,7 @@ static inline int istneq(const struct ist ist1, const struct ist ist2, size_t co /* appends after . The caller must ensure that the underlying buffer * 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;