From 5e8617f560968567c285bc2e9b0674f8f9d535cb Mon Sep 17 00:00:00 2001 From: Thomas Rast Date: Wed, 22 Feb 2012 20:34:22 +0100 Subject: bundle: put strbuf_readline_fd in strbuf.c with adjustments The comment even said that it should eventually go there. While at it, match the calling convention and name of the function to the strbuf_get*line family. So it now is strbuf_getwholeline_fd. Signed-off-by: Thomas Rast Signed-off-by: Junio C Hamano --- strbuf.h | 1 + 1 file changed, 1 insertion(+) (limited to 'strbuf.h') diff --git a/strbuf.h b/strbuf.h index 46a33f8c46..e42dbe5ac8 100644 --- a/strbuf.h +++ b/strbuf.h @@ -108,6 +108,7 @@ extern int strbuf_readlink(struct strbuf *sb, const char *path, size_t hint); extern int strbuf_getwholeline(struct strbuf *, FILE *, int); extern int strbuf_getline(struct strbuf *, FILE *, int); +extern int strbuf_getwholeline_fd(struct strbuf *, int, int); extern void stripspace(struct strbuf *buf, int skip_comments); extern int launch_editor(const char *path, struct strbuf *buffer, const char *const *env); -- cgit v1.2.3