ref: 6b714366f2c3aaaf2fd9a69443b083fb665d14f9
parent: 67f14db0cfed811698a6f42f0e6eab5a2f88911f
author: Quentin Rameau <quinq@fifth.space>
date: Fri Mar 10 05:30:37 EST 2017
[libc] Fix typo in sig_atomic_t definition
--- 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
--- 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
--- 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
--- 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