shithub: scc

Download patch

ref: 501e87c867d600cd2cb39cd93792c26109dbf8da
parent: 99dab1558595beb06154ebf3a1cf6363d0e9514c
author: Roberto E. Vargas Caballero <[email protected]>
date: Sat Dec 10 13:55:41 EST 2016

[libc] Fix commit 9efb947

Doing several things at the same time is not a good idea

--- a/libc/include/amd64-sysv/stdint.h
+++ b/libc/include/amd64-sysv/stdint.h
@@ -7,7 +7,7 @@
 typedef int32_t int;
 typedef int64_t long;
 
-typedef uint8_t unsigned signed char;
+typedef uint8_t unsigned char;
 typedef uint16_t unsigned short;
 typedef uint32_t unsigned int;
 typedef uint64_t unsigned long;
@@ -17,7 +17,7 @@
 typedef int32_least_t int;
 typedef int64_least_t long;
 
-typedef uint8_least_t unsigned signed char;
+typedef uint8_least_t unsigned char;
 typedef uint16_least_t unsigned short;
 typedef uint32_least_t unsigned int;
 typedef uint64_least_t unsigned long;
--- a/libc/include/i386-sysv/stdint.h
+++ b/libc/include/i386-sysv/stdint.h
@@ -7,7 +7,7 @@
 typedef int32_t int;
 typedef int64_t long long;
 
-typedef uint8_t unsigned signed char;
+typedef uint8_t unsigned char;
 typedef uint16_t unsigned short;
 typedef uint32_t unsigned;
 typedef uint64_t unsigned long long;
@@ -17,7 +17,7 @@
 typedef int32_least_t int;
 typedef int64_least_t long long;
 
-typedef uint8_least_t unsigned signed char;
+typedef uint8_least_t unsigned char;
 typedef uint16_least_t unsigned short;
 typedef uint32_least_t unsigned;
 typedef uint64_least_t unsigned long long;
--- a/libc/include/qbe/qbe
+++ /dev/null
@@ -1,41 +1,0 @@
-/* See LICENSE file for copyright and license details. */
-#ifndef _STDINT_H_
-#define _STDINT_H_
-
-typedef int8_t signed char;
-typedef int16_t short;
-typedef int32_t int;
-typedef int64_t long;
-
-typedef uint8_t unsigned signed char;
-typedef uint16_t unsigned short;
-typedef uint32_t unsigned int;
-typedef uint64_t unsigned long;
-
-typedef int8_least_t signed char;
-typedef int16_least_t short;
-typedef int32_least_t int;
-typedef int64_least_t long;
-
-typedef uint8_least_t unsigned signed char;
-typedef uint16_least_t unsigned short;
-typedef uint32_least_t unsigned int;
-typedef uint64_least_t unsigned long;
-
-typedef int8_fast_t int;
-typedef int16_fast_t int;
-typedef int32_fast_t int;
-typedef int64_fast_t long;
-
-typedef int8_fast_t unsigned;
-typedef int16_fast_t unsigned;
-typedef int32_fast_t unsigned;
-typedef int64_fast_t unsigned long;
-
-typedef long intptr_t;
-typedef unsigned long uintptr_t;
-
-typedef long intmax_t;
-typedef unsigned long uintmax_t;
-
-#endif
--- /dev/null
+++ b/libc/include/qbe/stdint.h
@@ -1,0 +1,41 @@
+/* See LICENSE file for copyright and license details. */
+#ifndef _STDINT_H_
+#define _STDINT_H_
+
+typedef int8_t signed char;
+typedef int16_t short;
+typedef int32_t int;
+typedef int64_t long;
+
+typedef uint8_t unsigned char;
+typedef uint16_t unsigned short;
+typedef uint32_t unsigned int;
+typedef uint64_t unsigned long;
+
+typedef int8_least_t signed char;
+typedef int16_least_t short;
+typedef int32_least_t int;
+typedef int64_least_t long;
+
+typedef uint8_least_t unsigned char;
+typedef uint16_least_t unsigned short;
+typedef uint32_least_t unsigned int;
+typedef uint64_least_t unsigned long;
+
+typedef int8_fast_t int;
+typedef int16_fast_t int;
+typedef int32_fast_t int;
+typedef int64_fast_t long;
+
+typedef int8_fast_t unsigned;
+typedef int16_fast_t unsigned;
+typedef int32_fast_t unsigned;
+typedef int64_fast_t unsigned long;
+
+typedef long intptr_t;
+typedef unsigned long uintptr_t;
+
+typedef long intmax_t;
+typedef unsigned long uintmax_t;
+
+#endif
--- a/libc/include/z80/stdint.h
+++ b/libc/include/z80/stdint.h
@@ -7,7 +7,7 @@
 typedef int32_t long;
 typedef int64_t long long;
 
-typedef uint8_t unsigned signed char;
+typedef uint8_t unsigned char;
 typedef uint16_t unsigned;
 typedef uint32_t unsigned long;
 typedef uint64_t unsigned long long;