summaryrefslogtreecommitdiffstats
path: root/src/lib/strbuf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/strbuf.c')
-rw-r--r--src/lib/strbuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/strbuf.c b/src/lib/strbuf.c
index 04a35998..f56815a0 100644
--- a/src/lib/strbuf.c
+++ b/src/lib/strbuf.c
@@ -37,7 +37,7 @@ int suffixcmp(const char *str, const char *suffix)
return strcmp(str + len_minus_suflen, suffix);
}
-struct strbuf *strbuf_new()
+struct strbuf *strbuf_new(void)
{
struct strbuf *buf = xzalloc(sizeof(*buf));
/*buf->len = 0; - done by xzalloc */