From 369bae306fac9a6bd1c18b684012cc6b322746fb Mon Sep 17 00:00:00 2001 From: Thomas Nagy Date: Sat, 10 Oct 2015 09:20:55 +0200 Subject: [PATCH] docs - write a newline in example file to remove warning with solaris compilers --- demos/c/program/wscript_build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demos/c/program/wscript_build b/demos/c/program/wscript_build index 9ecd5f5a..3f9e1f1b 100644 --- a/demos/c/program/wscript_build +++ b/demos/c/program/wscript_build @@ -1,7 +1,7 @@ #! /usr/bin/env python def write_header(tsk): - tsk.outputs[0].write('int abc = 423;') + tsk.outputs[0].write('int abc = 423;\n') bld(rule=write_header, target='b.h', ext_out=['.h']) bld.program(