From 6cd20744e5afa91c3787b1efa65106da8b2e8d2d Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 4 Sep 2014 10:08:25 -0500 Subject: 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. --- c/src/lib/libbsp/i386/pc386/include/bsp.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'c/src/lib/libbsp/i386/pc386/include/bsp.h') 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 @@ -112,12 +112,6 @@ extern int rtems_3c509_driver_attach(struct rtems_bsdnet_ifconfig *config); | Constants +--------------------------------------------------------------------------*/ -/*-------------------------------------------------------------------------+ -| Video (console) related constants. -+--------------------------------------------------------------------------*/ - -#include - /*-------------------------------------------------------------------------+ | Constants relating to the 8254 (or 8253) programmable interval timers. +--------------------------------------------------------------------------*/ -- cgit v1.2.3