Skip to content

Commit

Permalink
Fix -Wold-style-definition
Browse files Browse the repository at this point in the history
http://ci.rvm.jp/results/trunk-yjit@ruby-sp2-docker/4612329

Also, I changed the position of `{` to be consistent with the rest of
the codebase.
  • Loading branch information
k0kubun committed Jun 21, 2023
1 parent 23e1c69 commit 2acb27c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion yarp/yarp_init.c
Expand Up @@ -3,6 +3,7 @@
void ruby_init_ext(const char *name, void (*init)(void));

void
Init_YARP() {
Init_YARP(void)
{
ruby_init_ext("yarp.so", Init_yarp);
}

0 comments on commit 2acb27c

Please sign in to comment.