summaryrefslogtreecommitdiff
path: root/ruby.h
diff options
context:
space:
mode:
Diffstat (limited to 'ruby.h')
-rw-r--r--ruby.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ruby.h b/ruby.h
index b44fb9bd34..8ea90bad7c 100644
--- a/ruby.h
+++ b/ruby.h
@@ -591,8 +591,8 @@ NORETURN(void rb_iter_break _((void)));
NORETURN(void rb_exit _((int)));
NORETURN(void rb_notimplement _((void)));
-void rb_warning __((const char*, ...)); /* reports if `-w' specified */
-void rb_sys_warning __((const char*, ...)); /* reports if `-w' specified */
+void rb_warning __((const char*, ...)); /* reports if `-W' specified */
+void rb_sys_warning __((const char*, ...)); /* reports if `-W' specified */
void rb_warn __((const char*, ...)); /* reports always */
typedef VALUE rb_block_call_func _((VALUE, VALUE));