From 2a003020dc3b094df7eaa9b2f2cde53e97516fa8 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 9 Aug 2012 02:06:27 +0000 Subject: Fix warnings: -Wshadow -Wpointer-arith -Wcast-align -Wstrict-prototypes -Wmissing-prototypes. --- wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wscript') diff --git a/wscript b/wscript index fe00f66..8afe2a5 100644 --- a/wscript +++ b/wscript @@ -365,7 +365,7 @@ def build(bld): out = open(task.outputs[0].abspath(), 'w') for i in task.inputs: out.write('#include "%s"\n' % i.bldpath()) - out.write('int main() { return 0; }\n') + out.write('int main(void) { return 0; }\n') out.close() bld(rule = gen_build_test, -- cgit v1.2.1