Commit 625a5e71 authored by Jürg Billeter's avatar Jürg Billeter Committed by Jürg Billeter
Browse files

add void to function declarations without parameters as required by C89

2007-07-25  Juerg Billeter  <j@bitron.ch>

	* ccode/valaccodefunction.vala: add void to function declarations
	  without parameters as required by C89

svn path=/trunk/; revision=384
parent 5df444cb
2007-07-25 Jürg Billeter <j@bitron.ch>
* ccode/valaccodefunction.vala: add void to function declarations
without parameters as required by C89
2007-07-24 Jürg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala, gobject/valacodegenerator.vala:
......
......@@ -101,6 +101,9 @@ public class Vala.CCodeFunction : CCodeNode {
}
param.write (writer);
}
if (first) {
writer.write_string ("void");
}
writer.write_string (")");
if (block == null) {
......
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