public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v3 5/9] sandbox: sort header files in os.c
@ 2012-01-10 23:54 Simon Glass
  2012-01-10 23:54 ` [U-Boot] [PATCH v3 6/9] sandbox: Add required header to os.c Simon Glass
  2012-01-11  1:21 ` [U-Boot] [PATCH v3 5/9] sandbox: sort header files in os.c Mike Frysinger
  0 siblings, 2 replies; 4+ messages in thread
From: Simon Glass @ 2012-01-10 23:54 UTC (permalink / raw)
  To: u-boot

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

Signed-off-by: Simon Glass <sjg@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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH v3 6/9] sandbox: Add required header to os.c
  2012-01-10 23:54 [U-Boot] [PATCH v3 5/9] sandbox: sort header files in os.c Simon Glass
@ 2012-01-10 23:54 ` Simon Glass
  2012-01-11  1:23   ` Mike Frysinger
  2012-01-11  1:21 ` [U-Boot] [PATCH v3 5/9] sandbox: sort header files in os.c Mike Frysinger
  1 sibling, 1 reply; 4+ messages in thread
From: Simon Glass @ 2012-01-10 23:54 UTC (permalink / raw)
  To: u-boot

We should include the sys/time.h header to avoid warnings.

Signed-off-by: Simon Glass <sjg@chromium.org>
---
Changes in v2:
- Rebase after changes to sandbox header sort patch

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

diff --git a/arch/sandbox/cpu/os.c b/arch/sandbox/cpu/os.c
index a1d324b..093e7dc 100644
--- a/arch/sandbox/cpu/os.c
+++ b/arch/sandbox/cpu/os.c
@@ -27,6 +27,7 @@
 #include <unistd.h>
 #include <sys/mman.h>
 #include <sys/stat.h>
+#include <sys/time.h>
 #include <sys/types.h>
 #include <linux/types.h>
 
-- 
1.7.3.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH v3 5/9] sandbox: sort header files in os.c
  2012-01-10 23:54 [U-Boot] [PATCH v3 5/9] sandbox: sort header files in os.c Simon Glass
  2012-01-10 23:54 ` [U-Boot] [PATCH v3 6/9] sandbox: Add required header to os.c Simon Glass
@ 2012-01-11  1:21 ` Mike Frysinger
  1 sibling, 0 replies; 4+ messages in thread
From: Mike Frysinger @ 2012-01-11  1:21 UTC (permalink / raw)
  To: u-boot

On Tuesday 10 January 2012 18:54:05 Simon Glass wrote:
> Tidy this up as the list is long and likely to get longer.

added to my sandbox branch
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20120110/a1b0451a/attachment.pgp>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH v3 6/9] sandbox: Add required header to os.c
  2012-01-10 23:54 ` [U-Boot] [PATCH v3 6/9] sandbox: Add required header to os.c Simon Glass
@ 2012-01-11  1:23   ` Mike Frysinger
  0 siblings, 0 replies; 4+ messages in thread
From: Mike Frysinger @ 2012-01-11  1:23 UTC (permalink / raw)
  To: u-boot

On Tuesday 10 January 2012 18:54:06 Simon Glass wrote:
> We should include the sys/time.h header to avoid warnings.

added to my sandbox branch
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20120110/e3408b59/attachment.pgp>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-01-11  1:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-10 23:54 [U-Boot] [PATCH v3 5/9] sandbox: sort header files in os.c Simon Glass
2012-01-10 23:54 ` [U-Boot] [PATCH v3 6/9] sandbox: Add required header to os.c Simon Glass
2012-01-11  1:23   ` Mike Frysinger
2012-01-11  1:21 ` [U-Boot] [PATCH v3 5/9] sandbox: sort header files in os.c Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox