Skip to content

Commit

Permalink
includes: don't #include <default.h> from a number of headers which d…
Browse files Browse the repository at this point in the history
…on't depend on anything from that header.
  • Loading branch information
debrouxl committed Aug 16, 2013
1 parent 2f8c943 commit 4b9c4b5
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 16 deletions.
2 changes: 0 additions & 2 deletions trunk/tigcc/include/C/asmtypes.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#ifndef __ASMTYPES
#define __ASMTYPES

#include <default.h>

/* Begin Auto-Generated Part */
typedef unsigned short BOOL;
typedef unsigned char BYTE;
Expand Down
2 changes: 0 additions & 2 deletions trunk/tigcc/include/C/ctype.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#ifndef __CTYPE_H
#define __CTYPE_H

#include <default.h>

/* NOTE: These macros use GNU C extensions for defining safe and "smart" */
/* macros, so they are not portable to other C dialects */

Expand Down
2 changes: 0 additions & 2 deletions trunk/tigcc/include/C/float.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#ifndef __FLOAT_H
#define __FLOAT_H

#include <default.h>

/* Begin Auto-Generated Part */
#define DBL_DIG 16
#define DBL_EPSILON (1e-15)
Expand Down
2 changes: 0 additions & 2 deletions trunk/tigcc/include/C/limits.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#ifndef __LIMITS
#define __LIMITS

#include <default.h>

#ifdef __CHAR_UNSIGNED__
#define CHAR_MAX 255
#define CHAR_MIN 0
Expand Down
2 changes: 0 additions & 2 deletions trunk/tigcc/include/C/peekpoke.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#ifndef __PEEKPOKE
#define __PEEKPOKE

#include <default.h>

/* Begin Auto-Generated Part */
#define peek_bit(addr,bit) (!!(*((unsigned char*)(long)(addr))&(1<<(bit))))
#define peek_l(addr) (*((unsigned long*)(long)(addr)))
Expand Down
2 changes: 0 additions & 2 deletions trunk/tigcc/include/C/stddef.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#ifndef __STDDEF
#define __STDDEF

#include <default.h>

/* Begin Auto-Generated Part */
#define NULL ((void*)0)
typedef long ptrdiff_t;
Expand Down
2 changes: 0 additions & 2 deletions trunk/tigcc/include/C/stdint.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#ifndef __STDINT
#define __STDINT

#include <default.h>

/* Begin Auto-Generated Part */
#define INT_FAST16_MAX (32767)
#define INT_FAST16_MIN (-32767-1)
Expand Down
2 changes: 0 additions & 2 deletions trunk/tigcc/include/C/values.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#ifndef __VALUES
#define __VALUES

#include <default.h>

#ifdef __INT_SHORT__
#define MAXINT 0x7FFF
#define HIBITI 0x8000
Expand Down

0 comments on commit 4b9c4b5

Please sign in to comment.