forked from Imagelibrary/rtems
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.
This commit is contained in:
@@ -112,12 +112,6 @@ extern int rtems_3c509_driver_attach(struct rtems_bsdnet_ifconfig *config);
|
|||||||
| Constants
|
| Constants
|
||||||
+--------------------------------------------------------------------------*/
|
+--------------------------------------------------------------------------*/
|
||||||
|
|
||||||
/*-------------------------------------------------------------------------+
|
|
||||||
| Video (console) related constants.
|
|
||||||
+--------------------------------------------------------------------------*/
|
|
||||||
|
|
||||||
#include <crt.h>
|
|
||||||
|
|
||||||
/*-------------------------------------------------------------------------+
|
/*-------------------------------------------------------------------------+
|
||||||
| Constants relating to the 8254 (or 8253) programmable interval timers.
|
| Constants relating to the 8254 (or 8253) programmable interval timers.
|
||||||
+--------------------------------------------------------------------------*/
|
+--------------------------------------------------------------------------*/
|
||||||
|
|||||||
Reference in New Issue
Block a user