[rtems commit] powerpc/ss555: 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: ed29ced501315513e857db6ab2e407287e5e5998
Changeset: http://git.rtems.org/rtems/commit/?id=ed29ced501315513e857db6ab2e407287e5e5998
Author: Joel Sherrill <joel at rtems.org>
Date: Tue Mar 29 13:10:52 2016 -0500
powerpc/ss555: Remove include of <rtems/console.h> from <bsp.h> and fix warnings
---
c/src/lib/libbsp/powerpc/ss555/console/console.c | 6 ++++--
c/src/lib/libbsp/powerpc/ss555/include/bsp.h | 1 -
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/c/src/lib/libbsp/powerpc/ss555/console/console.c b/c/src/lib/libbsp/powerpc/ss555/console/console.c
index 42f2556..e13e473 100644
--- a/c/src/lib/libbsp/powerpc/ss555/console/console.c
+++ b/c/src/lib/libbsp/powerpc/ss555/console/console.c
@@ -71,10 +71,12 @@
*/
#include <stdarg.h>
#include <stdio.h>
-#include <bsp.h> /* Must be before libio.h */
+#include <termios.h>
+
+#include <rtems/console.h>
#include <rtems/bspIo.h>
#include <rtems/libio.h>
-#include <termios.h>
+#include <bsp.h> /* Must be before libio.h */
static void _BSP_output_char( char c );
static rtems_status_code do_poll_read( rtems_device_major_number major, rtems_device_minor_number minor, void * arg);
diff --git a/c/src/lib/libbsp/powerpc/ss555/include/bsp.h b/c/src/lib/libbsp/powerpc/ss555/include/bsp.h
index e7f5e4b..a82d10a 100644
--- a/c/src/lib/libbsp/powerpc/ss555/include/bsp.h
+++ b/c/src/lib/libbsp/powerpc/ss555/include/bsp.h
@@ -25,7 +25,6 @@
#include <bsp/default-initial-extension.h>
#include <rtems.h>
-#include <rtems/console.h>
#include <mpc5xx.h>
#include <mpc5xx/console.h>
#include <libcpu/vectors.h>
More information about the vc
mailing list