From: michael.slusarz Date: Wed, 8 Apr 2020 07:55:31 +0000 (+0000) Subject: lib: Remove deprecated str_append_n X-Git-Tag: 2.3.11.2~480 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=779757cc061c3a4eb92b6c48c1505e4923392395;p=thirdparty%2Fdovecot%2Fcore.git lib: Remove deprecated str_append_n This causes error when compiling within C++, so easiest to remove as it is already not being used anywhere --- diff --git a/src/lib/str.h b/src/lib/str.h index 3dc83208af..fca3e6b0cb 100644 --- a/src/lib/str.h +++ b/src/lib/str.h @@ -29,11 +29,6 @@ static inline size_t str_len(const string_t *str) /* Append NUL-terminated string. If the trailing NUL isn't found earlier, append a maximum of max_len characters. */ void str_append_max(string_t *str, const char *cstr, size_t max_len); -static inline void ATTR_DEPRECATED("Use str_append_max() or str_append_data() instead") -str_append_n(string_t *str, const void *cstr, size_t max_len) -{ - str_append_max(str, cstr, max_len); -} static inline void str_append(string_t *str, const char *cstr) {