scc

simple C compiler
git clone git://git.2f30.org/scc
Log | Files | Refs | README | LICENSE

commit 677b6d0afb4a3ea2ab70355922549204fc2f4918
parent e6e67bde1898d8478134a77583129e1f28e2ca12
Author: Quentin Rameau <quinq@fifth.space>
Date:   Tue, 13 Dec 2016 22:33:20 +0100

stdint.h: correct typos

All typedefs (almost) were inverted

Diffstat:
Mlibc/include/amd64-sysv/stdint.h | 58+++++++++++++++++++++++++++++-----------------------------
Mlibc/include/i386-sysv/stdint.h | 70+++++++++++++++++++++++++++++++++++-----------------------------------
Mlibc/include/qbe/stdint.h | 58+++++++++++++++++++++++++++++-----------------------------
Mlibc/include/z80/stdint.h | 70+++++++++++++++++++++++++++++++++++-----------------------------------
4 files changed, 128 insertions(+), 128 deletions(-)

diff --git a/libc/include/amd64-sysv/stdint.h b/libc/include/amd64-sysv/stdint.h @@ -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 @@ -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 @@ -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 @@ -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