scc

Simple C99 Compiler
Log | Files | Refs | README | LICENSE

commit ba98fe9738f78620b50c8351d46c95f923052dd7
parent 4bec09a47dc5436f4650bab3dabad013098f99d5
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Sun, 17 Jan 2016 09:08:36 +0100

Remove inttypes inclusion

This type is no longher needed.

Diffstat:
cc1/code.c | 1-
cc1/cpp.c | 3+--
cc1/decl.c | 1-
cc1/error.c | 1-
cc1/expr.c | 1-
cc1/lex.c | 1-
cc1/main.c | 1-
cc1/stmt.c | 1-
cc1/symbol.c | 1-
9 files changed, 1 insertion(+), 10 deletions(-)

diff --git a/cc1/code.c b/cc1/code.c @@ -1,5 +1,4 @@ -#include <inttypes.h> #include <stdio.h> #include <stdlib.h> #include <stdarg.h> diff --git a/cc1/cpp.c b/cc1/cpp.c @@ -1,6 +1,5 @@ #include <ctype.h> -#include <inttypes.h> #include <limits.h> #include <stdio.h> #include <stdlib.h> @@ -680,7 +679,7 @@ bool cpp(void) { static struct { - uint8_t token; + unsigned char token; void (*fun)(void); } *bp, clauses [] = { {DEFINE, define}, diff --git a/cc1/decl.c b/cc1/decl.c @@ -1,5 +1,4 @@ -#include <inttypes.h> #include <setjmp.h> #include <stdarg.h> #include <stdio.h> diff --git a/cc1/error.c b/cc1/error.c @@ -2,7 +2,6 @@ #include <stdarg.h> #include <stdio.h> #include <stdlib.h> -#include <inttypes.h> #include "../inc/cc.h" #include "cc1.h" diff --git a/cc1/expr.c b/cc1/expr.c @@ -1,4 +1,3 @@ -#include <inttypes.h> #include <stdio.h> #include <stdlib.h> #include <string.h> diff --git a/cc1/lex.c b/cc1/lex.c @@ -1,7 +1,6 @@ #include <ctype.h> #include <errno.h> -#include <inttypes.h> #include <setjmp.h> #include <stdio.h> #include <stdlib.h> diff --git a/cc1/main.c b/cc1/main.c @@ -1,5 +1,4 @@ -#include <inttypes.h> #include <setjmp.h> #include <stdio.h> #include <stdlib.h> diff --git a/cc1/stmt.c b/cc1/stmt.c @@ -1,6 +1,5 @@ #include <stddef.h> -#include <inttypes.h> #include <setjmp.h> #include <stdio.h> diff --git a/cc1/symbol.c b/cc1/symbol.c @@ -1,5 +1,4 @@ -#include <inttypes.h> #include <limits.h> #include <stdio.h> #include <stdlib.h>