Commit 1d1d0ef2 authored by Rico Tzschichholz's avatar Rico Tzschichholz

ccode: Add void to delegate typedef declarations without parameters

Found with -Werror=strict-prototypes
parent 180a2ea3
......@@ -74,6 +74,9 @@ public class Vala.CCodeFunctionDeclarator : CCodeDeclarator {
}
i++;
}
if (i == 0) {
writer.write_string ("void");
}
writer.write_string (")");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment