summaryrefslogtreecommitdiff
path: root/op.h
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2011-09-30 12:10:51 -0700
committerFather Chrysostomos <sprout@cpan.org>2011-10-06 13:01:19 -0700
commitf717afa71cc4ba2f45eb5e57b4e54a3a3cdf8bd9 (patch)
treea3964044fddbfa2e8b255bb2a4bae16414bb95f7 /op.h
parentdab1c735364fcc41f4fbd1c15b5e26e8a7b07cab (diff)
downloadperl-f717afa71cc4ba2f45eb5e57b4e54a3a3cdf8bd9.tar.gz
Oust cv_ckproto_len
It is no longer used in core (having been superseded by cv_ckproto_len_flags), is unused on CPAN, and is not part of the API. The cv_ckproto ‘public’ macro is modified to use the _flags version. I put ‘public’ in quotes because, even before this commit, cv_ckproto was using a non-exported function, and hence could never have worked on a strict linker (or whatever you call it).
Diffstat (limited to 'op.h')
-rw-r--r--op.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/op.h b/op.h
index 02b6652709..d09ccf1f60 100644
--- a/op.h
+++ b/op.h
@@ -667,7 +667,7 @@ least an C<UNOP>.
/* no longer used anywhere in core */
#ifndef PERL_CORE
#define cv_ckproto(cv, gv, p) \
- cv_ckproto_len((cv), (gv), (p), (p) ? strlen(p) : 0)
+ cv_ckproto_len_flags((cv), (gv), (p), (p) ? strlen(p) : 0, 0)
#endif
#ifdef PERL_CORE