Fix func decls with no arguments: () -> (void).

This commit is contained in:
Damien
2013-10-23 20:20:17 +01:00
parent 94186c8239
commit 8b3a7c2237
10 changed files with 30 additions and 30 deletions

View File

@@ -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++) {