aboutsummaryrefslogtreecommitdiffstats
path: root/yjit
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2023-10-04 09:34:06 -0700
committerTakashi Kokubun <takashikkbn@gmail.com>2023-10-04 10:25:46 -0700
commit577ff858bce3c9620c763d6481b082253f7e2bfd (patch)
treefc3277f42451b71ba2e0980128828e300ffb60d9 /yjit
parent01c462ce6aef82fe6dcdf54a4a3b33f1bc2d96b2 (diff)
downloadruby-577ff858bce3c9620c763d6481b082253f7e2bfd.tar.gz
Make the function names consistent
Diffstat (limited to 'yjit')
-rw-r--r--yjit/src/options.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/yjit/src/options.rs b/yjit/src/options.rs
index b0e8f0b5ee..f25e7f3618 100644
--- a/yjit/src/options.rs
+++ b/yjit/src/options.rs
@@ -246,7 +246,7 @@ pub fn parse_option(str_ptr: *const std::os::raw::c_char) -> Option<()> {
/// Print YJIT options for `ruby --help`.
#[no_mangle]
-pub extern "C" fn rb_yjit_print_options(help: c_int, highlight: c_int, w: c_uint, columns: c_int) {
+pub extern "C" fn rb_yjit_show_usage(help: c_int, highlight: c_int, w: c_uint, columns: c_int) {
for &(name, description) in YJIT_OPTIONS.iter() {
extern "C" {
fn ruby_show_usage_line(name: *const c_char, secondary: *const c_char, description: *const c_char,