[U-Boot] [PATCH v3 5/9] sandbox: sort header files in os.c

Simon Glass sjg at chromium.org
Wed Jan 11 00:54:05 CET 2012


Tidy this up as the list is long and likely to get longer.

Signed-off-by: Simon Glass <sjg at chromium.org>
---
Changes in v2:
- Sort correctly: include/, sys/, linux/, asm/

Changes in v3:
- Keep 'U-Boot header' separate at the end

 arch/sandbox/cpu/os.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/arch/sandbox/cpu/os.c b/arch/sandbox/cpu/os.c
index 6d55b5c..a1d324b 100644
--- a/arch/sandbox/cpu/os.c
+++ b/arch/sandbox/cpu/os.c
@@ -19,15 +19,15 @@
  * MA 02111-1307 USA
  */
 
+#include <errno.h>
 #include <fcntl.h>
 #include <stdlib.h>
 #include <termios.h>
-#include <unistd.h>
 #include <time.h>
-#include <errno.h>
-#include <sys/types.h>
-#include <sys/stat.h>
+#include <unistd.h>
 #include <sys/mman.h>
+#include <sys/stat.h>
+#include <sys/types.h>
 #include <linux/types.h>
 
 #include <os.h>
-- 
1.7.3.1



More information about the U-Boot mailing list