major header cleanup

This commit is contained in:
Hisham Muhammad
2011-12-26 21:35:57 +00:00
parent 81e44312b4
commit 84281bdc44
80 changed files with 491 additions and 591 deletions

15
CRT.c
View File

@ -7,19 +7,17 @@ in the source distribution for its full text.
#include "CRT.h"
#include "config.h"
#include "String.h"
#include "debug.h"
#include <curses.h>
#include <signal.h>
#include <stdlib.h>
#include <stdbool.h>
#ifdef HAVE_EXECINFO_H
#include <execinfo.h>
#endif
#include "String.h"
#include "config.h"
#include "debug.h"
#define ColorPair(i,j) COLOR_PAIR((7-i)*8+j)
#define COLORSCHEME_DEFAULT 0
@ -40,9 +38,8 @@ in the source distribution for its full text.
//#link curses
bool CRT_hasColors;
/*{
#include <stdbool.h>
typedef enum ColorElements_ {
RESET_COLOR,
@ -112,6 +109,8 @@ typedef enum ColorElements_ {
// TODO: centralize these in Settings.
static bool CRT_hasColors;
int CRT_delay = 0;
int CRT_colorScheme = 0;