summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-03 08:00:05 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-03 08:00:05 +0000
commit204929af9dfc7d483d69476325c1ceac1721e219 (patch)
treed06aba1c98e6b4d319551a42c8b5d7c464b621f4 /ext
parent028c1b16c277b87179171a94a0d600c3d45b606b (diff)
* include/ruby/signal.h: removed.
* common.mk, class.c, eval.c, eval_intern.h, file.c, gc.c, hash.c, io.c, process.c, signal.c: vm_core.h: ditto. Some unused external global variables are also removed. (rb_prohibit_interrupt, rb_trap_immediate, rb_trap_pending, rb_thread_critical) * ext/openssl/ossl_ssl.c, ext/openssl/ossl_x509store.c, ext/readline/readline.c, ext/socket/depend, ext/socket/socket.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r--ext/openssl/ossl_ssl.c2
-rw-r--r--ext/openssl/ossl_x509store.c1
-rw-r--r--ext/readline/readline.c1
-rw-r--r--ext/socket/depend2
-rw-r--r--ext/socket/socket.c1
5 files changed, 1 insertions, 6 deletions
diff --git a/ext/openssl/ossl_ssl.c b/ext/openssl/ossl_ssl.c
index 83fd256..64987a4 100644
--- a/ext/openssl/ossl_ssl.c
+++ b/ext/openssl/ossl_ssl.c
@@ -11,8 +11,6 @@
* (See the file 'LICENCE'.)
*/
#include "ossl.h"
-#include <rubysig.h>
-#include <rubyio.h>
#if defined(HAVE_UNISTD_H)
# include <unistd.h> /* for read(), and write() */
diff --git a/ext/openssl/ossl_x509store.c b/ext/openssl/ossl_x509store.c
index 769ce8a..68fb372 100644
--- a/ext/openssl/ossl_x509store.c
+++ b/ext/openssl/ossl_x509store.c
@@ -9,7 +9,6 @@
* (See the file 'LICENCE'.)
*/
#include "ossl.h"
-#include <rubysig.h>
#define WrapX509Store(klass, obj, st) do { \
if (!st) { \
diff --git a/ext/readline/readline.c b/ext/readline/readline.c
index 41914dc..1bfec15 100644
--- a/ext/readline/readline.c
+++ b/ext/readline/readline.c
@@ -35,7 +35,6 @@
#include "ruby/ruby.h"
#include "ruby/io.h"
-#include "ruby/signal.h"
#ifdef HAVE_UNISTD_H
#include <unistd.h>
diff --git a/ext/socket/depend b/ext/socket/depend
index 7577a69..29bc2f3 100644
--- a/ext/socket/depend
+++ b/ext/socket/depend
@@ -1,5 +1,5 @@
socket.o: socket.c $(hdrdir)/ruby/ruby.h $(arch_hdrdir)/ruby/config.h \
- $(hdrdir)/ruby/defines.h $(hdrdir)/ruby/io.h $(hdrdir)/ruby/signal.h \
+ $(hdrdir)/ruby/defines.h $(hdrdir)/ruby/io.h \
sockport.h constants.h
getnameinfo.o: getnameinfo.c $(arch_hdrdir)/ruby/config.h addrinfo.h sockport.h
getaddrinfo.o: getaddrinfo.c $(arch_hdrdir)/ruby/config.h addrinfo.h sockport.h
diff --git a/ext/socket/socket.c b/ext/socket/socket.c
index 2dcc168..c753f19 100644
--- a/ext/socket/socket.c
+++ b/ext/socket/socket.c
@@ -11,7 +11,6 @@
#include "ruby/ruby.h"
#include "ruby/io.h"
-#include "ruby/signal.h"
#include "ruby/util.h"
#include <stdio.h>
#include <sys/types.h>