summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2014-09-11 23:44:45 -0700
committerFather Chrysostomos <sprout@cpan.org>2014-09-15 06:19:34 -0700
commit230b3caa7e7f84ecf3fa68999603884d4b196166 (patch)
tree21dcbcecd3e6792259922acea128a4b967e6cf46 /proto.h
parent340798a07b98f692683344a419aab640629e38fb (diff)
downloadperl-230b3caa7e7f84ecf3fa68999603884d4b196166.tar.gz
Inline op.c:too_many_arguments_sv into its only caller
I’m about to change this code anyway, and it’s easier in one spot.
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/proto.h b/proto.h
index 6980b00f2d..7c63827101 100644
--- a/proto.h
+++ b/proto.h
@@ -6315,13 +6315,6 @@ STATIC OP* S_too_many_arguments_pv(pTHX_ OP *o, const char* name, U32 flags)
#define PERL_ARGS_ASSERT_TOO_MANY_ARGUMENTS_PV \
assert(o); assert(name)
-STATIC OP* S_too_many_arguments_sv(pTHX_ OP *o, SV* namesv, U32 flags)
- __attribute__warn_unused_result__
- __attribute__nonnull__(pTHX_1)
- __attribute__nonnull__(pTHX_2);
-#define PERL_ARGS_ASSERT_TOO_MANY_ARGUMENTS_SV \
- assert(o); assert(namesv)
-
#endif
#if defined(PERL_IN_OP_C) || defined(PERL_IN_SV_C)
PERL_CALLCONV void Perl_report_redefined_cv(pTHX_ const SV *name, const CV *old_cv, SV * const *new_const_svp)