summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hash.c4
-rw-r--r--vm.c3
2 files changed, 3 insertions, 4 deletions
diff --git a/hash.c b/hash.c
index 32c660a210..3303a1b03f 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 dfb535d01e..bc007e21e5 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;
}