summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-05-21 17:24:37 +0200
committerNicholas Clark <nick@ccl4.org>2009-05-21 17:24:37 +0200
commit0e44608102d0bfb1d574ba4b0c350390ef1d459c (patch)
treec732abd5e51194ede2c5b6dd346d4008b03336fe /proto.h
parent2243c3b2519b9854cb76fbdb41e692fd0a494fa2 (diff)
downloadperl-0e44608102d0bfb1d574ba4b0c350390ef1d459c.tar.gz
Merge Perl_magic_setisa() and Perl_magic_clearisa(), to remove duplicated logic.
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/proto.h b/proto.h
index b34e9a8929..78f17ddedb 100644
--- a/proto.h
+++ b/proto.h
@@ -1519,10 +1519,9 @@ PERL_CALLCONV int Perl_magic_clearhint(pTHX_ SV* sv, MAGIC* mg)
assert(sv); assert(mg)
PERL_CALLCONV int Perl_magic_clearisa(pTHX_ SV* sv, MAGIC* mg)
- __attribute__nonnull__(pTHX_1)
__attribute__nonnull__(pTHX_2);
#define PERL_ARGS_ASSERT_MAGIC_CLEARISA \
- assert(sv); assert(mg)
+ assert(mg)
PERL_CALLCONV int Perl_magic_clearpack(pTHX_ SV* sv, MAGIC* mg)
__attribute__nonnull__(pTHX_1)