[hackers] [scc] stdint.h: correct typos || Quentin Rameau

From: <git_AT_suckless.org>
Date: Wed, 14 Dec 2016 21:13:06 +0100 (CET)

commit 677b6d0afb4a3ea2ab70355922549204fc2f4918
Author: Quentin Rameau <quinq_AT_fifth.space>
AuthorDate: Tue Dec 13 22:33:20 2016 +0100
Commit: Quentin Rameau <quinq_AT_fifth.space>
CommitDate: Wed Dec 14 21:10:09 2016 +0100

    stdint.h: correct typos
    
    All typedefs (almost) were inverted

diff --git a/libc/include/amd64-sysv/stdint.h b/libc/include/amd64-sysv/stdint.h
index 379034a..19cd51f 100644
--- a/libc/include/amd64-sysv/stdint.h
+++ b/libc/include/amd64-sysv/stdint.h
_AT_@ -2,35 +2,35 @@
 #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 signed char int8_t;
+typedef short int16_t;
+typedef int int32_t;
+typedef long int64_t;
+
+typedef unsigned char uint8_t;
+typedef unsigned short uint16_t;
+typedef unsigned int uint32_t;
+typedef unsigned long uint64_t;
+
+typedef signed char int8_least_t;
+typedef short int16_least_t;
+typedef int int32_least_t;
+typedef long int64_least_t;
+
+typedef unsigned char uint8_least_t;
+typedef unsigned short uint16_least_t;
+typedef unsigned int uint32_least_t;
+typedef unsigned long uint64_least_t;
+
+typedef int int8_fast_t;
+typedef int int16_fast_t;
+typedef int int32_fast_t;
+typedef long int64_fast_t;
+
+typedef unsigned int8_fast_t;
+typedef unsigned int16_fast_t;
+typedef unsigned int32_fast_t;
+typedef unsigned long int64_fast_t;
 
 typedef long intptr_t;
 typedef unsigned long uintptr_t;
diff --git a/libc/include/i386-sysv/stdint.h b/libc/include/i386-sysv/stdint.h
index 0a46216..155ffa2 100644
--- a/libc/include/i386-sysv/stdint.h
+++ b/libc/include/i386-sysv/stdint.h
_AT_@ -2,40 +2,40 @@
 #ifndef _STDINT_H_
 #define _STDINT_H_
 
-typedef int8_t signed char;
-typedef int16_t short;
-typedef int32_t int;
-typedef int64_t long long;
-
-typedef uint8_t unsigned char;
-typedef uint16_t unsigned short;
-typedef uint32_t unsigned;
-typedef uint64_t unsigned long long;
-
-typedef int8_least_t signed char;
-typedef int16_least_t short;
-typedef int32_least_t int;
-typedef int64_least_t long long;
-
-typedef uint8_least_t unsigned char;
-typedef uint16_least_t unsigned short;
-typedef uint32_least_t unsigned;
-typedef uint64_least_t unsigned long long;
-
-typedef int8_fast_t int;
-typedef int16_fast_t int;
-typedef int32_fast_t int;
-typedef int64_fast_t long long;
-
-typedef int8_fast_t unsigned;
-typedef int16_fast_t unsigned;
-typedef int32_fast_t unsigned;
-typedef int64_fast_t unsigned long long;
-
-typedef long intptr_t;
-typedef unsigned long long uintptr_t;
-
-typedef long intmax_t;
-typedef unsigned long long uintmax_t;
+typedef signed char int8_t;
+typedef short int16_t;
+typedef int int32_t;
+typedef long long int64_t;
+
+typedef unsigned char uint8_t;
+typedef unsigned short uint16_t;
+typedef unsigned uint32_t;
+typedef unsigned long long uint64_t;
+
+typedef signed char int8_least_t;
+typedef short int16_least_t;
+typedef int int32_least_t;
+typedef long long int64_least_t;
+
+typedef unsigned char uint8_least_t;
+typedef unsigned short uint16_least_t;
+typedef unsigned uint32_least_t;
+typedef unsigned long long uint64_least_t;
+
+typedef int int8_fast_t;
+typedef int int16_fast_t;
+typedef int int32_fast_t;
+typedef long long int64_fast_t;
+
+typedef unsigned int8_fast_t;
+typedef unsigned int16_fast_t;
+typedef unsigned int32_fast_t;
+typedef unsigned long long int64_fast_t;
+
+typedef intptr_t long;
+typedef long long uintptr_t unsigned;
+
+typedef intmax_t long;
+typedef long long uintmax_t unsigned;
 
 #endif
diff --git a/libc/include/qbe/stdint.h b/libc/include/qbe/stdint.h
index 379034a..19cd51f 100644
--- a/libc/include/qbe/stdint.h
+++ b/libc/include/qbe/stdint.h
_AT_@ -2,35 +2,35 @@
 #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 signed char int8_t;
+typedef short int16_t;
+typedef int int32_t;
+typedef long int64_t;
+
+typedef unsigned char uint8_t;
+typedef unsigned short uint16_t;
+typedef unsigned int uint32_t;
+typedef unsigned long uint64_t;
+
+typedef signed char int8_least_t;
+typedef short int16_least_t;
+typedef int int32_least_t;
+typedef long int64_least_t;
+
+typedef unsigned char uint8_least_t;
+typedef unsigned short uint16_least_t;
+typedef unsigned int uint32_least_t;
+typedef unsigned long uint64_least_t;
+
+typedef int int8_fast_t;
+typedef int int16_fast_t;
+typedef int int32_fast_t;
+typedef long int64_fast_t;
+
+typedef unsigned int8_fast_t;
+typedef unsigned int16_fast_t;
+typedef unsigned int32_fast_t;
+typedef unsigned long int64_fast_t;
 
 typedef long intptr_t;
 typedef unsigned long uintptr_t;
diff --git a/libc/include/z80/stdint.h b/libc/include/z80/stdint.h
index 00b3b57..b6521b1 100644
--- a/libc/include/z80/stdint.h
+++ b/libc/include/z80/stdint.h
_AT_@ -2,40 +2,40 @@
 #ifndef _STDINT_H_
 #define _STDINT_H_
 
-typedef int8_t signed char;
-typedef int16_t int;
-typedef int32_t long;
-typedef int64_t long long;
-
-typedef uint8_t unsigned char;
-typedef uint16_t unsigned;
-typedef uint32_t unsigned long;
-typedef uint64_t unsigned long long;
-
-typedef int8_least_t signed char;
-typedef int16_least_t int;
-typedef int32_least_t long;
-typedef int64_least_t long long;
-
-typedef uint8_least_t unsigned char;
-typedef uint16_least_t unsigned;
-typedef uint32_least_t unsigned long;
-typedef uint64_least_t unsigned long long;
-
-typedef int8_fast_t signed char;
-typedef int16_fast_t int;
-typedef int32_fast_t long;
-typedef int64_fast_t long long;
-
-typedef int8_fast_t unsigned char;
-typedef int16_fast_t unsigned;
-typedef int32_fast_t unsigned long;
-typedef int64_fast_t unsigned long long;
-
-typedef long intptr_t;
-typedef unsigned uintptr_t;
-
-typedef long intmax_t;
-typedef unsigned long long uintmax_t;
+typedef signed char int8_t;
+typedef int int16_t;
+typedef long int32_t;
+typedef long long int64_t;
+
+typedef unsigned char uint8_t;
+typedef unsigned uint16_t;
+typedef unsigned long uint32_t;
+typedef unsigned long long uint64_t;
+
+typedef signed char int8_least_t;
+typedef int int16_least_t;
+typedef long int32_least_t;
+typedef long long int64_least_t;
+
+typedef unsigned char uint8_least_t;
+typedef unsigned uint16_least_t;
+typedef unsigned long uint32_least_t;
+typedef unsigned long long uint64_least_t;
+
+typedef signed char int8_fast_t;
+typedef int int16_fast_t;
+typedef long int32_fast_t;
+typedef long long int64_fast_t;
+
+typedef unsigned char int8_fast_t;
+typedef unsigned int16_fast_t;
+typedef unsigned long int32_fast_t;
+typedef unsigned long long int64_fast_t;
+
+typedef intptr_t long;
+typedef uintptr_t unsigned;
+
+typedef intmax_t long;
+typedef long long uintmax_t unsigned;
 
 #endif
Received on Wed Dec 14 2016 - 21:13:06 CET

This archive was generated by hypermail 2.3.0 : Wed Dec 14 2016 - 21:24:17 CET