summaryrefslogtreecommitdiff
path: root/re.c
diff options
context:
space:
mode:
Diffstat (limited to 're.c')
-rw-r--r--re.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/re.c b/re.c
index d8ef7b21a9..49424eb632 100644
--- a/re.c
+++ b/re.c
@@ -3152,7 +3152,8 @@ rb_reg_s_last_match(int argc, VALUE *argv)
}
static void
-re_warn(const char* s) {
+re_warn(const char *s)
+{
rb_warn("%s", s);
}