summaryrefslogtreecommitdiff
path: root/internal/signal.h
diff options
context:
space:
mode:
Diffstat (limited to 'internal/signal.h')
-rw-r--r--internal/signal.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/internal/signal.h b/internal/signal.h
index 6b4672f15b..2363bf412c 100644
--- a/internal/signal.h
+++ b/internal/signal.h
@@ -1,7 +1,6 @@
#ifndef INTERNAL_SIGNAL_H /*-*-C-*-vi:se ft=c:*/
#define INTERNAL_SIGNAL_H
/**
- * @file
* @author Ruby developers <ruby-core@ruby-lang.org>
* @copyright This file is a part of the programming language Ruby.
* Permission is hereby granted, to either redistribute and/or
@@ -14,9 +13,12 @@
extern int ruby_enable_coredump;
int rb_get_next_signal(void);
+#ifdef POSIX_SIGNAL
+void (*ruby_posix_signal(int, void (*)(int)))(int);
+#endif
+
RUBY_SYMBOL_EXPORT_BEGIN
/* signal.c (export) */
-int rb_grantpt(int fd);
RUBY_SYMBOL_EXPORT_END
#endif /* INTERNAL_SIGNAL_H */