Skip to content

Commit

Permalink
Fix old-style function definition warning
Browse files Browse the repository at this point in the history
konsolebox committed Jun 22, 2023

Verified

This commit was signed with the committer’s verified signature.
Exirel Florian Strzelecki
1 parent b972a44 commit 11ae4e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/digest/xxhash/ext.c
Original file line number Diff line number Diff line change
@@ -1079,7 +1079,7 @@ static VALUE _Digest_XXH3_128bits_singleton_block_length(VALUE self)
* Initialization
*/

void Init_xxhash()
void Init_xxhash(void)
{
#define DEFINE_ID(x) _id_##x = rb_intern_const(#x);

0 comments on commit 11ae4e2

Please sign in to comment.