Skip to content

Commit

Permalink
Adjust function style [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed Apr 15, 2023
1 parent 5944a31 commit 607cd24
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 1 addition & 3 deletions hash.c
Expand Up @@ -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);
Expand Down
3 changes: 2 additions & 1 deletion vm.c
Expand Up @@ -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;
}
Expand Down

0 comments on commit 607cd24

Please sign in to comment.