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

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


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

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

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

---

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

diff --git a/c/src/lib/libbsp/mips/rbtx4938/console/console-io.c b/c/src/lib/libbsp/mips/rbtx4938/console/console-io.c
index 4f5b4f7..b0dbc3b 100644
--- a/c/src/lib/libbsp/mips/rbtx4938/console/console-io.c
+++ b/c/src/lib/libbsp/mips/rbtx4938/console/console-io.c
@@ -28,10 +28,12 @@
  *  http://www.rtems.org/license/LICENSE.
  */
 
-#include <bsp.h>
-#include <rtems/libio.h>
 #include <ctype.h>
 
+#include <rtems/console.h>
+#include <rtems/libio.h>
+#include <bsp.h>
+
 #include "yamon_api.h"
 
 /* PMON entry points */
diff --git a/c/src/lib/libbsp/mips/rbtx4938/include/bsp.h b/c/src/lib/libbsp/mips/rbtx4938/include/bsp.h
index ae195fb..cc3a893 100644
--- a/c/src/lib/libbsp/mips/rbtx4938/include/bsp.h
+++ b/c/src/lib/libbsp/mips/rbtx4938/include/bsp.h
@@ -23,7 +23,6 @@
 
 #include <rtems.h>
 #include <rtems/iosupp.h>
-#include <rtems/console.h>
 #include <libcpu/tx4938.h>
 
 #ifdef __cplusplus




More information about the vc mailing list