shithub: scc

Download patch

ref: 51eef9bbdb3627254742429c41c36df38348bf42
parent: 2862185bdc21ce55e8f5e0d38f475405f20054ad
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Thu Feb 16 12:04:13 EST 2017

[libc] Move signal.h to the common directory

At this point signal.h hasn't specific bits, so
it can be ported directly.

--- a/libc/include/amd64-sysv/signal.h
+++ /dev/null
@@ -1,8 +1,0 @@
-/* See LICENSE file for copyright and license details. */
-#ifndef _SIGNAL_H
-#define _SIGNAL_H
-
-void ( *signal(int signum, void (*handler)(int)) ) (int);
-int raise(int sig);
-
-#endif
--- a/libc/include/i386-sysv/signal.h
+++ /dev/null
@@ -1,8 +1,0 @@
-/* See LICENSE file for copyright and license details. */
-#ifndef _SIGNAL_H
-#define _SIGNAL_H
-
-void ( *signal(int signum, void (*handler)(int)) ) (int);
-int raise(int sig);
-
-#endif
--- a/libc/include/qbe/signal.h
+++ /dev/null
@@ -1,8 +1,0 @@
-/* See LICENSE file for copyright and license details. */
-#ifndef _SIGNAL_H
-#define _SIGNAL_H
-
-void ( *signal(int signum, void (*handler)(int)) ) (int);
-int raise(int sig);
-
-#endif
--- /dev/null
+++ b/libc/include/signal.h
@@ -1,0 +1,8 @@
+/* See LICENSE file for copyright and license details. */
+#ifndef _SIGNAL_H
+#define _SIGNAL_H
+
+void ( *signal(int signum, void (*handler)(int)) ) (int);
+int raise(int sig);
+
+#endif
--- a/libc/include/z80/signal.h
+++ /dev/null
@@ -1,8 +1,0 @@
-/* See LICENSE file for copyright and license details. */
-#ifndef _SIGNAL_H
-#define _SIGNAL_H
-
-void ( *signal(int signum, void (*handler)(int)) ) (int);
-int raise(int sig);
-
-#endif