summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--process.c23
1 files changed, 12 insertions, 11 deletions
diff --git a/process.c b/process.c
index 0c59fcdf3d..1ff203d8ee 100644
--- a/process.c
+++ b/process.c
@@ -4460,17 +4460,6 @@ f_exit(int c, const VALUE *a, VALUE _)
UNREACHABLE_RETURN(Qnil);
}
-/*
- * call-seq:
- * abort
- * Kernel::abort([msg])
- * Process.abort([msg])
- *
- * Terminate execution immediately, effectively by calling
- * <code>Kernel.exit(false)</code>. If _msg_ is given, it is written
- * to STDERR prior to terminating.
- */
-
VALUE
rb_f_abort(int argc, const VALUE *argv)
{
@@ -4497,6 +4486,18 @@ rb_f_abort(int argc, const VALUE *argv)
}
NORETURN(static VALUE f_abort(int c, const VALUE *a, VALUE _));
+
+/*
+ * call-seq:
+ * abort
+ * Kernel::abort([msg])
+ * Process.abort([msg])
+ *
+ * Terminate execution immediately, effectively by calling
+ * <code>Kernel.exit(false)</code>. If _msg_ is given, it is written
+ * to STDERR prior to terminating.
+ */
+
static VALUE
f_abort(int c, const VALUE *a, VALUE _)
{