From: Tim Duesterhus Date: Thu, 8 Apr 2021 17:28:16 +0000 (+0200) Subject: MINOR: ist: Rename istappend() to __istappend() X-Git-Tag: v2.4-dev16~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fbc2b79743bcb7c5bed7426b484604e696e9d85a;p=thirdparty%2Fhaproxy.git MINOR: ist: Rename istappend() to __istappend() Indicate that this function is not inherently safe by adding two underscores as a prefix. --- diff --git a/include/import/ist.h b/include/import/ist.h index daf23d5521..a19e228023 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;