[rtems commit] m68k/mvme167: 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:    00bec7144b0f32369d7d34dc93632b5fbe00444a
Changeset: http://git.rtems.org/rtems/commit/?id=00bec7144b0f32369d7d34dc93632b5fbe00444a

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

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

---

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

diff --git a/c/src/lib/libbsp/m68k/mvme167/console/console.c b/c/src/lib/libbsp/m68k/mvme167/console/console.c
index 8f77361..9ac8f70 100644
--- a/c/src/lib/libbsp/m68k/mvme167/console/console.c
+++ b/c/src/lib/libbsp/m68k/mvme167/console/console.c
@@ -130,9 +130,11 @@
 #include <stdarg.h>
 #include <stdio.h>
 #include <termios.h>
+
+#include <rtems/console.h>
+#include <rtems/libio.h>
 #include <rtems/termiostypes.h>
 #include <bsp.h>                /* Must be before libio.h */
-#include <rtems/libio.h>
 
 /* Utility functions */
 void cd2401_udelay( unsigned long delay );
diff --git a/c/src/lib/libbsp/m68k/mvme167/include/bsp.h b/c/src/lib/libbsp/m68k/mvme167/include/bsp.h
index 0e6e817..5f10743 100644
--- a/c/src/lib/libbsp/m68k/mvme167/include/bsp.h
+++ b/c/src/lib/libbsp/m68k/mvme167/include/bsp.h
@@ -26,7 +26,6 @@
 #include <bsp/default-initial-extension.h>
 
 #include <rtems.h>
-#include <rtems/console.h>
 #include <rtems/iosupp.h>
 #include <rtems/bspIo.h>
 




More information about the vc mailing list