scc

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

commit e7fa60aacaa1ebce5b97f0d46b9d49cb0a43e11b
parent 383e20172e25bee6705fc6ec5acfd83f8f587958
Author: Quentin Rameau <quinq@fifth.space>
Date:   Fri, 10 Mar 2017 10:30:37 +0100

[libc] Fix typo in sig_atomic_t definition

Diffstat:
Mlibc/include/bits/amd64-sysv/arch/signal.h | 2+-
Mlibc/include/bits/i386-sysv/arch/signal.h | 2+-
Mlibc/include/bits/qbe/arch/signal.h | 2+-
Mlibc/include/bits/z80/arch/signal.h | 2+-
4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/libc/include/bits/amd64-sysv/arch/signal.h b/libc/include/bits/amd64-sysv/arch/signal.h @@ -1,6 +1,6 @@ /* See LICENSE file for copyright and license details. */ -typedef sig_atomic_t int; +typedef int sig_atomic_t; #define SIG_ERR -1 #define SIG_DFL 0 diff --git a/libc/include/bits/i386-sysv/arch/signal.h b/libc/include/bits/i386-sysv/arch/signal.h @@ -1,6 +1,6 @@ /* See LICENSE file for copyright and license details. */ -typedef sig_atomic_t int; +typedef int sig_atomic_t; #define SIG_ERR -1 #define SIG_DFL 0 diff --git a/libc/include/bits/qbe/arch/signal.h b/libc/include/bits/qbe/arch/signal.h @@ -1,6 +1,6 @@ /* See LICENSE file for copyright and license details. */ -typedef sig_atomic_t int; +typedef int sig_atomic_t; #define SIG_ERR -1 #define SIG_DFL 0 diff --git a/libc/include/bits/z80/arch/signal.h b/libc/include/bits/z80/arch/signal.h @@ -1,6 +1,6 @@ /* See LICENSE file for copyright and license details. */ -typedef sig_atomic_t char; +typedef char sig_atomic_t; #define SIG_ERR -1 #define SIG_DFL 0