[hackers] [scc] [libc] Fix typo in sig_atomic_t definition || Quentin Rameau
commit e7fa60aacaa1ebce5b97f0d46b9d49cb0a43e11b
Author: Quentin Rameau <quinq_AT_fifth.space>
AuthorDate: Fri Mar 10 10:30:37 2017 +0100
Commit: Quentin Rameau <quinq_AT_fifth.space>
CommitDate: Fri Mar 17 08:47:03 2017 +0100
[libc] Fix typo in sig_atomic_t definition
diff --git a/libc/include/bits/amd64-sysv/arch/signal.h b/libc/include/bits/amd64-sysv/arch/signal.h
index 4ec6662..1d9060f 100644
--- a/libc/include/bits/amd64-sysv/arch/signal.h
+++ b/libc/include/bits/amd64-sysv/arch/signal.h
_AT_@ -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
index 4ec6662..1d9060f 100644
--- a/libc/include/bits/i386-sysv/arch/signal.h
+++ b/libc/include/bits/i386-sysv/arch/signal.h
_AT_@ -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
index 4ec6662..1d9060f 100644
--- a/libc/include/bits/qbe/arch/signal.h
+++ b/libc/include/bits/qbe/arch/signal.h
_AT_@ -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
index 2b2871c..9a066b0 100644
--- a/libc/include/bits/z80/arch/signal.h
+++ b/libc/include/bits/z80/arch/signal.h
_AT_@ -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
Received on Fri Mar 17 2017 - 08:50:00 CET
This archive was generated by hypermail 2.3.0
: Fri Mar 17 2017 - 09:00:48 CET