summaryrefslogtreecommitdiff
path: root/random.c
diff options
context:
space:
mode:
Diffstat (limited to 'random.c')
-rw-r--r--random.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/random.c b/random.c
index 333c593ff5..72ef7c5780 100644
--- a/random.c
+++ b/random.c
@@ -339,9 +339,11 @@ random_memsize(const void *ptr)
static const rb_data_type_t random_data_type = {
"random",
- random_mark,
- random_free,
- random_memsize,
+ {
+ random_mark,
+ random_free,
+ random_memsize,
+ },
};
static rb_random_t *