[rtems commit] m68k/gen68360: 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:    9e79b3fd429f138b97dab654d1ce82d695e47906
Changeset: http://git.rtems.org/rtems/commit/?id=9e79b3fd429f138b97dab654d1ce82d695e47906

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

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

---

 c/src/lib/libbsp/m68k/gen68360/console/console.c | 1 +
 c/src/lib/libbsp/m68k/gen68360/include/bsp.h     | 1 -
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/c/src/lib/libbsp/m68k/gen68360/console/console.c b/c/src/lib/libbsp/m68k/gen68360/console/console.c
index 2d23810..1a8ed00 100644
--- a/c/src/lib/libbsp/m68k/gen68360/console/console.c
+++ b/c/src/lib/libbsp/m68k/gen68360/console/console.c
@@ -26,6 +26,7 @@
 #include <termios.h>
 #include <bsp.h>
 #include <rtems/libio.h>
+#include <rtems/console.h>
 #include <rtems/termiostypes.h>
 #include <rtems/m68k/m68360.h>
 
diff --git a/c/src/lib/libbsp/m68k/gen68360/include/bsp.h b/c/src/lib/libbsp/m68k/gen68360/include/bsp.h
index 2bfc428..e830b4d 100644
--- a/c/src/lib/libbsp/m68k/gen68360/include/bsp.h
+++ b/c/src/lib/libbsp/m68k/gen68360/include/bsp.h
@@ -35,7 +35,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