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

Simon Glass sjg at chromium.org
Mon Jan 9 23:25:15 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/

 arch/sandbox/cpu/os.c |   11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/arch/sandbox/cpu/os.c b/arch/sandbox/cpu/os.c
index 6d55b5c..52062ef 100644
--- a/arch/sandbox/cpu/os.c
+++ b/arch/sandbox/cpu/os.c
@@ -19,19 +19,18 @@
  * MA 02111-1307 USA
  */
 
+#include <errno.h>
 #include <fcntl.h>
+#include <os.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>
-
 /* Operating System Interface */
 
 ssize_t os_read(int fd, void *buf, size_t count)
-- 
1.7.3.1



More information about the U-Boot mailing list