[examples-v2 commit] posix_hello_world: Move . h file to emphasize POSIX compliance

Joel Sherrill joel at rtems.org
Thu Oct 24 23:20:00 UTC 2013


Module:    examples-v2
Branch:    master
Commit:    37373efe19537a61e11251f917cd6c3e454f5208
Changeset: http://git.rtems.org/examples-v2/commit/?id=37373efe19537a61e11251f917cd6c3e454f5208

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Thu Oct 24 18:23:40 2013 -0500

posix_hello_world: Move .h file to emphasize POSIX compliance

---

 hello/posix_hello_world/test.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/hello/posix_hello_world/test.c b/hello/posix_hello_world/test.c
index 3c595dc..9086e5f 100644
--- a/hello/posix_hello_world/test.c
+++ b/hello/posix_hello_world/test.c
@@ -2,7 +2,6 @@
  *  Simple test program -- simplified version of sample test hello.
  */
 
-#include <bsp.h>
 #include <stdio.h>
 #include <stdlib.h>
 
@@ -18,6 +17,8 @@ void *POSIX_Init(
 
 /* configuration information */
 
+#include <bsp.h>
+
 /* NOTICE: the clock driver is explicitly disabled */
 #define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER
 #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER




More information about the vc mailing list