summaryrefslogtreecommitdiff
path: root/error.c
diff options
context:
space:
mode:
authorPeter Zhu <[email protected]>2024-11-27 10:44:46 -0500
committerPeter Zhu <[email protected]>2024-11-27 11:32:58 -0500
commit14ce2443db2c97f870b6da74b613e05cab42042c (patch)
tree3b97e47bd07536f821ead263c1c4585c284bd274 /error.c
parent209f8ba7c4ce0130fbdd3872b629a66f9c889910 (diff)
Make rb_bug_without_die static
It's not used outside of error.c.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/12183
Diffstat (limited to 'error.c')
-rw-r--r--error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/error.c b/error.c
index e78071c686..6e0fb7dfe3 100644
--- a/error.c
+++ b/error.c
@@ -1072,7 +1072,7 @@ die(void)
}
RBIMPL_ATTR_FORMAT(RBIMPL_PRINTF_FORMAT, 1, 0)
-void
+static void
rb_bug_without_die(const char *fmt, va_list args)
{
const char *file = NULL;