Skip to content

Commit f512825

Browse files
authored
Merge pull request #99 from flfymoss/main
fix: missing argument names in rb_prohibit_copy (build failure on older GCC/Clang)
2 parents 116ee47 + 74841ce commit f512825

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/zstdruby/zstdruby.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ static VALUE rb_ddict_initialize(VALUE self, VALUE dict)
274274
return self;
275275
}
276276

277-
static VALUE rb_prohibit_copy(VALUE, VALUE)
277+
static VALUE rb_prohibit_copy(VALUE self, VALUE obj)
278278
{
279279
rb_raise(rb_eRuntimeError, "CDict cannot be duplicated");
280280
}

0 commit comments

Comments
 (0)