summaryrefslogtreecommitdiff
path: root/mg.c
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2012-05-18 22:44:30 -0700
committerFather Chrysostomos <sprout@cpan.org>2012-05-21 18:09:33 -0700
commit7b71d0d142d89de9446cbbc63f724a74637404d3 (patch)
treecedb7fec33ae27c8139079476488e990d1edbfc7 /mg.c
parentbd6e6c126bf78b3ecdc6512201fd30a2c288fe7f (diff)
downloadperl-7b71d0d142d89de9446cbbc63f724a74637404d3.tar.gz
Consign magic_setamagic to oblivion
Now that ‘A’ magic is gone, nothing is using this function.
Diffstat (limited to 'mg.c')
-rw-r--r--mg.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/mg.c b/mg.c
index 9acd5d22ec..74e320ea39 100644
--- a/mg.c
+++ b/mg.c
@@ -1691,18 +1691,6 @@ Perl_magic_clearisa(pTHX_ SV *sv, MAGIC *mg)
}
int
-Perl_magic_setamagic(pTHX_ SV *sv, MAGIC *mg)
-{
- dVAR;
- PERL_ARGS_ASSERT_MAGIC_SETAMAGIC;
- PERL_UNUSED_ARG(sv);
- PERL_UNUSED_ARG(mg);
- PL_amagic_generation++;
-
- return 0;
-}
-
-int
Perl_magic_getnkeys(pTHX_ SV *sv, MAGIC *mg)
{
HV * const hv = MUTABLE_HV(LvTARG(sv));