From 607cd24128e36af72ee92354fab2e24a149fc1fb Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Sat, 15 Apr 2023 11:50:54 +0900 Subject: [PATCH] Adjust function style [ci skip] --- hash.c | 4 +--- vm.c | 3 ++- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/hash.c b/hash.c index 32c660a2108fd6..3303a1b03fccf8 100644 --- a/hash.c +++ b/hash.c @@ -4887,9 +4887,7 @@ has_env_with_lock(const char *name) static const char TZ_ENV[] = "TZ"; static void * -get_env_cstr( - VALUE str, - const char *name) +get_env_cstr(VALUE str, const char *name) { char *var; rb_encoding *enc = rb_enc_get(str); diff --git a/vm.c b/vm.c index dfb535d01e3c9e..bc007e21e57dde 100644 --- a/vm.c +++ b/vm.c @@ -2291,7 +2291,8 @@ struct rb_vm_exec_context { static void vm_exec_enter_vm_loop(rb_execution_context_t *ec, struct rb_vm_exec_context *ctx, - struct rb_vm_tag *_tag, bool skip_first_ex_handle) { + struct rb_vm_tag *_tag, bool skip_first_ex_handle) +{ if (skip_first_ex_handle) { goto vm_loop_start; }