strbuf: export strbuf_addchars()

Move strbuf_addchars() to strbuf.c, where it belongs, and make it
available for other callers.

Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
René Scharfe
2014-09-07 09:03:32 +02:00
committed by Junio C Hamano
parent e6aaa39347
commit d07235a027
4 changed files with 12 additions and 7 deletions

View File

@ -142,6 +142,10 @@ then they will free() it.
Add a single character to the buffer.
`strbuf_addchars`::
Add a character the specified number of times to the buffer.
`strbuf_insert`::
Insert data to the given position of the buffer. The remaining contents