From e0db1765c3bb108b55ebf82b4e5962f9d1f5e5b7 Mon Sep 17 00:00:00 2001 From: Steffen Prohaska Date: Tue, 11 Dec 2012 06:59:22 +0100 Subject: strbuf_add_wrapped*(): Remove unused return value Since shortlog isn't using the return value anymore (see previous commit), the functions can be changed to void. Signed-off-by: Steffen Prohaska Signed-off-by: Junio C Hamano --- utf8.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'utf8.h') diff --git a/utf8.h b/utf8.h index 81f2c82fab..f50c567d42 100644 --- a/utf8.h +++ b/utf8.h @@ -8,9 +8,9 @@ int utf8_strwidth(const char *string); int is_utf8(const char *text); int is_encoding_utf8(const char *name); -int strbuf_add_wrapped_text(struct strbuf *buf, +void strbuf_add_wrapped_text(struct strbuf *buf, const char *text, int indent, int indent2, int width); -int strbuf_add_wrapped_bytes(struct strbuf *buf, const char *data, int len, +void strbuf_add_wrapped_bytes(struct strbuf *buf, const char *data, int len, int indent, int indent2, int width); #ifndef NO_ICONV -- cgit v1.2.3