[hackers] [scc] Remove inttypes inclusion || Roberto E. Vargas Caballero

From: <git_AT_suckless.org>
Date: Sun, 17 Jan 2016 09:09:04 +0100 (CET)

commit ba98fe9738f78620b50c8351d46c95f923052dd7
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Sun Jan 17 09:08:36 2016 +0100
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
CommitDate: Sun Jan 17 09:08:36 2016 +0100

    Remove inttypes inclusion
    
    This type is no longher needed.

diff --git a/cc1/code.c b/cc1/code.c
index e62619f..d72e5f1 100644
--- a/cc1/code.c
+++ b/cc1/code.c
_AT_@ -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
index 18bcd3c..e0574e1 100644
--- a/cc1/cpp.c
+++ b/cc1/cpp.c
_AT_@ -1,6 +1,5 @@
 
 #include <ctype.h>
-#include <inttypes.h>
 #include <limits.h>
 #include <stdio.h>
 #include <stdlib.h>
_AT_@ -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
index 7032733..c1fcdac 100644
--- a/cc1/decl.c
+++ b/cc1/decl.c
_AT_@ -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
index 64a4e8a..f6aaa0f 100644
--- a/cc1/error.c
+++ b/cc1/error.c
_AT_@ -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
index 9702950..36eef5f 100644
--- a/cc1/expr.c
+++ b/cc1/expr.c
_AT_@ -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
index 1155cfd..04cbaf6 100644
--- a/cc1/lex.c
+++ b/cc1/lex.c
_AT_@ -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
index ff2616b..8b1be01 100644
--- a/cc1/main.c
+++ b/cc1/main.c
_AT_@ -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
index 65a0a15..9aa801c 100644
--- a/cc1/stmt.c
+++ b/cc1/stmt.c
_AT_@ -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
index 47795c3..e48453e 100644
--- a/cc1/symbol.c
+++ b/cc1/symbol.c
_AT_@ -1,5 +1,4 @@
 
-#include <inttypes.h>
 #include <limits.h>
 #include <stdio.h>
 #include <stdlib.h>
Received on Sun Jan 17 2016 - 09:09:04 CET

This archive was generated by hypermail 2.3.0 : Sun Jan 17 2016 - 09:12:14 CET