[rtems commit] m68k/mvme147: Remove include of <rtems/console.h> from < bsp.h> and fix warnings

Joel Sherrill joel at rtems.org
Tue Mar 29 20:29:10 UTC 2016


Module:    rtems
Branch:    master
Commit:    6e053d0567634b4e83fbb1194019f58b1be26980
Changeset: http://git.rtems.org/rtems/commit/?id=6e053d0567634b4e83fbb1194019f58b1be26980

Author:    Joel Sherrill <joel at rtems.org>
Date:      Tue Mar 29 13:10:51 2016 -0500

m68k/mvme147: Remove include of <rtems/console.h> from <bsp.h> and fix warnings

---

 c/src/lib/libbsp/m68k/mvme147/console/console.c | 3 ++-
 c/src/lib/libbsp/m68k/mvme147/include/bsp.h     | 1 -
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/c/src/lib/libbsp/m68k/mvme147/console/console.c b/c/src/lib/libbsp/m68k/mvme147/console/console.c
index 389d5b4..f13a185 100644
--- a/c/src/lib/libbsp/m68k/mvme147/console/console.c
+++ b/c/src/lib/libbsp/m68k/mvme147/console/console.c
@@ -19,9 +19,10 @@
 
 #define M147_INIT
 
-#include <bsp.h>
+#include <rtems/console.h>
 #include <rtems/libio.h>
 #include <rtems/zilog/z8530.h>
+#include <bsp.h>
 
 /*  console_initialize
  *
diff --git a/c/src/lib/libbsp/m68k/mvme147/include/bsp.h b/c/src/lib/libbsp/m68k/mvme147/include/bsp.h
index ace37bb..d940f71 100644
--- a/c/src/lib/libbsp/m68k/mvme147/include/bsp.h
+++ b/c/src/lib/libbsp/m68k/mvme147/include/bsp.h
@@ -21,7 +21,6 @@
 #include <bsp/default-initial-extension.h>
 
 #include <rtems.h>
-#include <rtems/console.h>
 #include <rtems/iosupp.h>
 
 #ifdef __cplusplus




More information about the vc mailing list