[hackers] [scc] [libc] Move signal.h to the common directory || Roberto E. Vargas Caballero

From: <git_AT_suckless.org>
Date: Thu, 16 Feb 2017 17:24:34 +0100 (CET)

commit ffe3e9b4a391cb17088cff36d9449fe7bd47a796
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Thu Feb 16 17:04:13 2017 +0100
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
CommitDate: Thu Feb 16 17:04:13 2017 +0100

    [libc] Move signal.h to the common directory
    
    At this point signal.h hasn't specific bits, so
    it can be ported directly.

diff --git a/libc/include/amd64-sysv/signal.h b/libc/include/amd64-sysv/signal.h
deleted file mode 100644
index 24735f2..0000000
--- a/libc/include/amd64-sysv/signal.h
+++ /dev/null
_AT_@ -1,8 +0,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
diff --git a/libc/include/i386-sysv/signal.h b/libc/include/i386-sysv/signal.h
deleted file mode 100644
index 24735f2..0000000
--- a/libc/include/i386-sysv/signal.h
+++ /dev/null
_AT_@ -1,8 +0,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
diff --git a/libc/include/qbe/signal.h b/libc/include/qbe/signal.h
deleted file mode 100644
index 24735f2..0000000
--- a/libc/include/qbe/signal.h
+++ /dev/null
_AT_@ -1,8 +0,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
diff --git a/libc/include/signal.h b/libc/include/signal.h
new file mode 100644
index 0000000..24735f2
--- /dev/null
+++ b/libc/include/signal.h
_AT_@ -0,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
diff --git a/libc/include/z80/signal.h b/libc/include/z80/signal.h
deleted file mode 100644
index 24735f2..0000000
--- a/libc/include/z80/signal.h
+++ /dev/null
_AT_@ -1,8 +0,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
Received on Thu Feb 16 2017 - 17:24:34 CET

This archive was generated by hypermail 2.3.0 : Thu Feb 16 2017 - 17:36:22 CET