[rtems commit] m68k/mrm332: 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:    33e2e04dca583e6187b87e2156102f4ec38b01ef
Changeset: http://git.rtems.org/rtems/commit/?id=33e2e04dca583e6187b87e2156102f4ec38b01ef

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

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

---

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

diff --git a/c/src/lib/libbsp/m68k/mrm332/console/console.c b/c/src/lib/libbsp/m68k/mrm332/console/console.c
index 360be8d..7b5ae7d 100644
--- a/c/src/lib/libbsp/m68k/mrm332/console/console.c
+++ b/c/src/lib/libbsp/m68k/mrm332/console/console.c
@@ -7,9 +7,11 @@
  *  http://www.rtems.org/license/LICENSE.
  */
 
-#include <bsp.h>
-#include <rtems/libio.h>
 #include <termios.h>
+
+#include <rtems/console.h>
+#include <rtems/libio.h>
+#include <bsp.h>
 #include "sci.h"
 
 /*
diff --git a/c/src/lib/libbsp/m68k/mrm332/include/bsp.h b/c/src/lib/libbsp/m68k/mrm332/include/bsp.h
index a016647..d12c3a8 100644
--- a/c/src/lib/libbsp/m68k/mrm332/include/bsp.h
+++ b/c/src/lib/libbsp/m68k/mrm332/include/bsp.h
@@ -20,7 +20,6 @@
 
 #include <rtems.h>
 #include <rtems/bspIo.h>
-#include <rtems/console.h>
 #include <rtems/iosupp.h>
 #include <mrm332.h>
 




More information about the vc mailing list