commit | 8b3a7c2237d74b84eb7ff9fe4b6cd5888545f2af | [log] [tgz] |
---|---|---|
author | Damien <damien.p.george@gmail.com> | Wed Oct 23 20:20:17 2013 +0100 |
committer | Damien <damien.p.george@gmail.com> | Wed Oct 23 20:20:17 2013 +0100 |
tree | 876d0481e9c06c2d280dd3e602335a3aad977915 | |
parent | 94186c82396dee2f70785bf9e241780f29275870 [diff] [blame] |
Fix func decls with no arguments: () -> (void).
diff --git a/py/vstr.c b/py/vstr.c index fc7a772..076c3a3 100644 --- a/py/vstr.c +++ b/py/vstr.c
@@ -24,7 +24,7 @@ vstr->buf = NULL; } -vstr_t *vstr_new() { +vstr_t *vstr_new(void) { vstr_t *vstr = m_new(vstr_t, 1); if (vstr == NULL) { return NULL; @@ -193,7 +193,7 @@ /** testing *****************************************************/ /* -int main() { +int main(void) { vstr_t *vstr = vstr_new(); int i; for (i = 0; i < 10; i++) {