summaryrefslogtreecommitdiff
path: root/signal.c
diff options
context:
space:
mode:
Diffstat (limited to 'signal.c')
-rw-r--r--signal.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/signal.c b/signal.c
index c0173d8..dd8f3c2 100644
--- a/signal.c
+++ b/signal.c
@@ -383,3 +383,11 @@ Ftrap(argc, argv)
#endif
return Qnil;
}
+
+Init_signal()
+{
+ extern VALUE C_Kernel;
+
+ rb_define_method(C_Kernel, "kill", Fkill, -1);
+ rb_define_method(C_Kernel, "trap", Ftrap, -1);
+}