[rtems commit] m68k/mvme162: 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: 9c18598df5dbf369edf663dcd8c4c257f0be9b77
Changeset: http://git.rtems.org/rtems/commit/?id=9c18598df5dbf369edf663dcd8c4c257f0be9b77
Author: Joel Sherrill <joel at rtems.org>
Date: Tue Mar 29 13:10:51 2016 -0500
m68k/mvme162: Remove include of <rtems/console.h> from <bsp.h> and fix warnings
---
c/src/lib/libbsp/m68k/mvme162/console/console.c | 3 ++-
c/src/lib/libbsp/m68k/mvme162/include/bsp.h | 1 -
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/c/src/lib/libbsp/m68k/mvme162/console/console.c b/c/src/lib/libbsp/m68k/mvme162/console/console.c
index d5661ff..668e1bb 100644
--- a/c/src/lib/libbsp/m68k/mvme162/console/console.c
+++ b/c/src/lib/libbsp/m68k/mvme162/console/console.c
@@ -20,9 +20,10 @@
#define M162_INIT
-#include <bsp.h>
+#include <rtems/console.h>
#include <rtems/libio.h>
#include <rtems/ringbuf.h>
+#include <bsp.h>
Ring_buffer_t Console_Buffer[2];
diff --git a/c/src/lib/libbsp/m68k/mvme162/include/bsp.h b/c/src/lib/libbsp/m68k/mvme162/include/bsp.h
index 9a7a217..8862337 100644
--- a/c/src/lib/libbsp/m68k/mvme162/include/bsp.h
+++ b/c/src/lib/libbsp/m68k/mvme162/include/bsp.h
@@ -25,7 +25,6 @@
#include <bsp/default-initial-extension.h>
#include <rtems.h>
-#include <rtems/console.h>
#include <rtems/iosupp.h>
#include <mvme16x_hw.h>
More information about the vc
mailing list