From 911f7dd893a10baf5f5d28fe2f213828aefa13d2 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Thu, 12 Jul 2018 15:03:59 +0200 Subject: [PATCH] MINOR: buffers: remove b_putstr() It's not needed anymore. --- include/common/buf.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/include/common/buf.h b/include/common/buf.h index a7bbb1f0c..1ad00523c 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 */