summaryrefslogtreecommitdiff
path: root/object.c
diff options
context:
space:
mode:
Diffstat (limited to 'object.c')
-rw-r--r--object.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/object.c b/object.c
index 0080c351a6..bfce958a72 100644
--- a/object.c
+++ b/object.c
@@ -1216,7 +1216,7 @@ rb_obj_dummy1(VALUE _x, VALUE _y)
VALUE
rb_obj_tainted(VALUE obj)
{
- rb_warning("Object#tainted? is deprecated and will be removed in Ruby 3.2.");
+ rb_warn("Object#tainted? is deprecated and will be removed in Ruby 3.2.");
return Qfalse;
}
@@ -1230,7 +1230,7 @@ rb_obj_tainted(VALUE obj)
VALUE
rb_obj_taint(VALUE obj)
{
- rb_warning("Object#taint is deprecated and will be removed in Ruby 3.2.");
+ rb_warn("Object#taint is deprecated and will be removed in Ruby 3.2.");
return obj;
}
@@ -1245,7 +1245,7 @@ rb_obj_taint(VALUE obj)
VALUE
rb_obj_untaint(VALUE obj)
{
- rb_warning("Object#untaint is deprecated and will be removed in Ruby 3.2.");
+ rb_warn("Object#untaint is deprecated and will be removed in Ruby 3.2.");
return obj;
}
@@ -1259,7 +1259,7 @@ rb_obj_untaint(VALUE obj)
VALUE
rb_obj_untrusted(VALUE obj)
{
- rb_warning("Object#untrusted? is deprecated and will be removed in Ruby 3.2.");
+ rb_warn("Object#untrusted? is deprecated and will be removed in Ruby 3.2.");
return Qfalse;
}
@@ -1273,7 +1273,7 @@ rb_obj_untrusted(VALUE obj)
VALUE
rb_obj_untrust(VALUE obj)
{
- rb_warning("Object#untrust is deprecated and will be removed in Ruby 3.2.");
+ rb_warn("Object#untrust is deprecated and will be removed in Ruby 3.2.");
return obj;
}
@@ -1288,7 +1288,7 @@ rb_obj_untrust(VALUE obj)
VALUE
rb_obj_trust(VALUE obj)
{
- rb_warning("Object#trust is deprecated and will be removed in Ruby 3.2.");
+ rb_warn("Object#trust is deprecated and will be removed in Ruby 3.2.");
return obj;
}
@@ -1299,7 +1299,7 @@ rb_obj_trust(VALUE obj)
void
rb_obj_infect(VALUE victim, VALUE carrier)
{
- rb_warning("rb_obj_infect is deprecated and will be removed in Ruby 3.2.");
+ rb_warn("rb_obj_infect is deprecated and will be removed in Ruby 3.2.");
}
/**