remove unnecessary headers and use stdbool

This commit is contained in:
GeeckoDev 2011-12-06 19:25:03 +01:00
parent 8b90a6ccfc
commit f56ade3345
2 changed files with 1 additions and 18 deletions

View File

@ -11,9 +11,7 @@
#include <pspdisplay.h>
#include <pspgu.h>
#include <vram.h>
#include <stdio.h>
#include <malloc.h>
#include <string.h>
#include <math.h>
#ifdef USE_PNG
@ -22,7 +20,6 @@
#ifdef USE_JPEG
#include <jpeglib.h>
#include <jerror.h>
#endif
#define PSP_LINE_SIZE (512)

View File

@ -55,21 +55,7 @@
extern "C" {
#endif
/**
* \def false
* \brief False boolean constant.
*/
/**
* \def true
* \brief True boolean constant.
*/
/**
* \typedef bool
* \brief Boolean variable type.
*/
#define false (0)
#define true (!false)
typedef char bool;
#include <stdbool.h>
/**
* \def USE_PNG