diff options
author | Steffen Prohaska <prohaska@zib.de> | 2012-12-11 06:59:22 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-12-11 10:05:17 -0800 |
commit | e0db1765c3bb108b55ebf82b4e5962f9d1f5e5b7 (patch) | |
tree | 9c75bfe3aedbc13d950a9f11b4e2b5b17c25b67c /utf8.h | |
parent | 5b59708268c82262fb13fb8681663dd158b030bd (diff) | |
download | git-e0db1765c3bb108b55ebf82b4e5962f9d1f5e5b7.tar.gz |
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 <prohaska@zib.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'utf8.h')
-rw-r--r-- | utf8.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |