aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-08-09 02:06:27 +0000
committerDavid Robillard <d@drobilla.net>2012-08-09 02:06:27 +0000
commit2a003020dc3b094df7eaa9b2f2cde53e97516fa8 (patch)
tree8ca0dc8e0030b06eaa5d1aea630eb64e4bfd67bc /wscript
parente6e94966b45ab25c8852445ee05869de879819df (diff)
downloadlv2-2a003020dc3b094df7eaa9b2f2cde53e97516fa8.tar.xz
Fix warnings: -Wshadow -Wpointer-arith -Wcast-align -Wstrict-prototypes -Wmissing-prototypes.
Diffstat (limited to 'wscript')
-rw-r--r--wscript2
1 files changed, 1 insertions, 1 deletions
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,