MINOR: buffers: remove b_putstr()

It's not needed anymore.
This commit is contained in:
Willy Tarreau 2018-07-12 15:03:59 +02:00
parent a094fde2b6
commit 911f7dd893

View File

@ -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 <str> into output data at buffer <b>.
* 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 */