shithub: scc

Download patch

ref: 7e1907d5b237b7bf2b740beeeb727bf3a7b91c90
parent: 48cb441384ff77a4e40bfafe24948ecc5b099252
author: Roberto E. Vargas Caballero <[email protected]>
date: Sun Mar 1 16:48:50 EST 2015

Change stdint to inttypes in cc1

This change shod be done in previous commits, but I am not
sure why it appears again, so kill them again.

--- a/cc1/decl.c
+++ b/cc1/decl.c
@@ -1,6 +1,6 @@
 #include <assert.h>
 #include <stddef.h>
-#include <stdint.h>
+#include <inttypes.h>
 #include <string.h>
 
 #include "../inc/sizes.h"
--- a/cc1/error.c
+++ b/cc1/error.c
@@ -1,7 +1,7 @@
 
 #include <stdarg.h>
 #include <stdlib.h>
-#include <stdint.h>
+#include <inttypes.h>
 #include <stdio.h>
 
 #include "../inc/cc.h"
--- a/cc1/lex.c
+++ b/cc1/lex.c
@@ -1,5 +1,5 @@
 
-#include <stdint.h>
+#include <inttypes.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
--- a/cc1/main.c
+++ b/cc1/main.c
@@ -1,5 +1,5 @@
 
-#include <stdint.h>
+#include <inttypes.h>
 #include <stdio.h>
 
 #include "../inc/cc.h"
--- a/cc1/symbol.c
+++ b/cc1/symbol.c
@@ -1,6 +1,5 @@
 
-#include <stdint.h>
-#include <stdint.h>
+#include <inttypes.h>
 #include <stdlib.h>
 #include <string.h>