From 0d6dc5c2c0fc0ef6be102933b8b34d067c2ffc23 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Wed, 31 Aug 2011 07:05:35 -0700 Subject: documentation/dev-manual/dev-manual-kernel-appendix.xml: moved statement Dave Stewart said that good coding practice is to set the variables before any print statements. So I moved one statement above the example printk statements. (From yocto-docs rev: bad0537a5a6472fb3fef06de9763990a0c352e25) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/dev-manual/dev-manual-kernel-appendix.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'documentation') diff --git a/documentation/dev-manual/dev-manual-kernel-appendix.xml b/documentation/dev-manual/dev-manual-kernel-appendix.xml index ffe3230126..68b7642a97 100644 --- a/documentation/dev-manual/dev-manual-kernel-appendix.xml +++ b/documentation/dev-manual/dev-manual-kernel-appendix.xml @@ -159,7 +159,7 @@
- Setting Up the <filename>poky-extras</filename> Git Repository + Setting Up the poky-extras Git Repository This example places the poky-extras Git repository inside @@ -317,12 +317,12 @@ { unsigned long ticks, loopbit; int lps_precision = LPS_PREC; + static bool printed; printk("*************************************\n"); printk("* *\n"); printk("* HELLO YOCTO KERNEL *\n"); printk("* *\n"); printk("*************************************\n"); - static bool printed; if (preset_lpj) { . -- cgit v1.2.3-54-g00ecf