summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/i386/pc386/include/bsp.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2014-09-04 10:08:25 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2014-09-16 16:09:12 -0500
commit6cd20744e5afa91c3787b1efa65106da8b2e8d2d (patch)
tree806764cc8e3fec1f39c0729a76807b27bc476b11 /c/src/lib/libbsp/i386/pc386/include/bsp.h
parentUse correct prototype of benchmark_timer_read() (diff)
downloadrtems-6cd20744e5afa91c3787b1efa65106da8b2e8d2d.tar.bz2
pc386/.../bsp.h: Do not include crt.h
crt.h defines such lovely constants as "RED" and "GREEN" which have a nasty habit of conflicting with non-BSP code. There is no reason to include this private .h from bsp.h and pollute the namespace for applications.
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/i386/pc386/include/bsp.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/c/src/lib/libbsp/i386/pc386/include/bsp.h b/c/src/lib/libbsp/i386/pc386/include/bsp.h
index cb9555adfb..ef16b4ade8 100644
--- a/c/src/lib/libbsp/i386/pc386/include/bsp.h
+++ b/c/src/lib/libbsp/i386/pc386/include/bsp.h
@@ -113,12 +113,6 @@ extern int rtems_3c509_driver_attach(struct rtems_bsdnet_ifconfig *config);
+--------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------+
-| Video (console) related constants.
-+--------------------------------------------------------------------------*/
-
-#include <crt.h>
-
-/*-------------------------------------------------------------------------+
| Constants relating to the 8254 (or 8253) programmable interval timers.
+--------------------------------------------------------------------------*/
#define IO_TIMER1 0x40