From: Willy Tarreau Date: Thu, 12 Jul 2018 13:03:59 +0000 (+0200) Subject: MINOR: buffers: remove b_putstr() X-Git-Tag: v1.9-dev1~79 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=911f7dd893a10baf5f5d28fe2f213828aefa13d2;p=thirdparty%2Fhaproxy.git MINOR: buffers: remove b_putstr() It's not needed anymore. --- diff --git a/include/common/buf.h b/include/common/buf.h index a7bbb1f0c1..1ad00523c1 100644 --- a/include/common/buf.h +++ b/include/common/buf.h @@ -484,15 +484,6 @@ static inline size_t b_putblk(struct buffer *b, const char *blk, size_t len) return len; } -/* b_putstr() : tries to copy string into output data at buffer . - * Supports wrapping. Data are truncated if buffer is too short. It returns the - * number of bytes copied. - */ -static inline size_t b_putstr(struct buffer *b, const char *str) -{ - return b_putblk(b, str, strlen(str)); -} - #endif /* _COMMON_BUF_H */