aboutsummaryrefslogtreecommitdiff
path: root/py/vstr.c
diff options
context:
space:
mode:
authorDamien <damien.p.george@gmail.com>2013-10-23 20:20:17 +0100
committerDamien <damien.p.george@gmail.com>2013-10-23 20:20:17 +0100
commit8b3a7c2237d74b84eb7ff9fe4b6cd5888545f2af (patch)
tree876d0481e9c06c2d280dd3e602335a3aad977915 /py/vstr.c
parent94186c82396dee2f70785bf9e241780f29275870 (diff)
Fix func decls with no arguments: () -> (void).
Diffstat (limited to 'py/vstr.c')
-rw-r--r--py/vstr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/py/vstr.c b/py/vstr.c
index fc7a77245..076c3a30d 100644
--- a/py/vstr.c
+++ b/py/vstr.c
@@ -24,7 +24,7 @@ void vstr_clear(vstr_t *vstr) {
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 @@ void vstr_printf(vstr_t *vstr, const char *fmt, ...) {
/** testing *****************************************************/
/*
-int main() {
+int main(void) {
vstr_t *vstr = vstr_new();
int i;
for (i = 0; i < 10; i++) {