Drop unneeded #includes, add EXIT_SUCCESS/EXIT_FAILURE (trivial).

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3237 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Uwe Hermann 2008-04-11 20:16:24 +00:00
parent 72199bc49a
commit be504d1d8d
8 changed files with 3 additions and 14 deletions

View File

@ -59,8 +59,6 @@
#undef USE_TERMLIB
#include <libpayload.h>
#include <arch/types.h>
#include <arch/io.h>
#include <curses.h>
#include <curses.priv.h>
@ -86,9 +84,4 @@ extern int curses_flags;
/* Share the color table for easy lookup */
extern unsigned char color_pairs[256];
/* speaker.c */
void speaker_enable(u16 freq);
void speaker_disable(void);
void speaker_tone(u16 freq, unsigned int duration);
#endif

View File

@ -27,7 +27,6 @@
* SUCH DAMAGE.
*/
#include <arch/io.h>
#include <libpayload.h>
unsigned char map[2][0x57] = {

View File

@ -28,7 +28,6 @@
*/
#include <libpayload.h>
#include <sysinfo.h>
#define IOBASE lib_sysinfo.ser_ioport

View File

@ -30,9 +30,7 @@
#include <libpayload.h>
#include <pci.h>
#include <video_console.h>
#include <arch/io.h>
#include <arch/msr.h>
#include "font8x16.h"
/* This is the video mode that we're going to use for our VGA screen */

View File

@ -28,7 +28,6 @@
*/
#include <libpayload.h>
#include <sysinfo.h>
#include <coreboot_tables.h>
/*

View File

@ -28,7 +28,6 @@
*/
#include <libpayload.h>
#include <sysinfo.h>
/**
* This is a global structure that is used through the library - we set it

View File

@ -49,6 +49,9 @@
#define BYTE_ORDER BIG_ENDIAN
#endif
#define EXIT_SUCCESS 0
#define EXIT_FAILURE 1
#define RAND_MAX 0x7fffffff
/* Some NVRAM byte definitions */

View File

@ -34,7 +34,6 @@
*/
#include <libpayload.h>
#include <stdarg.h>
/** Structure for specifying output methods for different printf clones. */
struct printf_spec {