summaryrefslogtreecommitdiff
path: root/gc.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2023-03-08 14:02:46 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2023-03-08 14:02:46 +0900
commit00d6772e400b55b72f81285d66ac2c2834a87c18 (patch)
tree5af7962d0a0b156278cc2aa3a5f738f0d9c78d90 /gc.c
parent677c3228d09eaeaa57ad18396f52841f31411b6a (diff)
Adjust styles [ci skip]
Diffstat (limited to 'gc.c')
-rw-r--r--gc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gc.c b/gc.c
index bbb85a21b6..e4b2cfe44c 100644
--- a/gc.c
+++ b/gc.c
@@ -13593,7 +13593,8 @@ wkmap_has_key(VALUE self, VALUE key)
* Removes all map entries; returns +self+.
*/
static VALUE
-wkmap_clear(VALUE self) {
+wkmap_clear(VALUE self)
+{
struct weakkeymap *w;
TypedData_Get_Struct(self, struct weakkeymap, &weakkeymap_type, w);
if (w->map) {