diff options
author | Nicholas Clark <nick@ccl4.org> | 2009-10-13 11:05:49 +0100 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2009-10-13 11:08:06 +0100 |
commit | 2acdbac104deb9113282247f3dbee83c4705a525 (patch) | |
tree | bd905a0581a100f9ed3571004a781c65cb10bfef /proto.h | |
parent | 8290c3237cb4f93c9895ceba724c626dd529346f (diff) | |
download | perl-2acdbac104deb9113282247f3dbee83c4705a525.tar.gz |
Replace Perl_deprecate() with a macro that calls Perl_ck_warner()
Perl_deprecate was not part of the public API, and did not have a deprecate()
shortcut macro defined without -DPERL_CORE. Neither codesearch.google.com nor
CPAN::Unpack show any users outside the core.
Diffstat (limited to 'proto.h')
-rw-r--r-- | proto.h | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -516,11 +516,6 @@ PERL_CALLCONV char* Perl_delimcpy(char* to, const char* toend, const char* from, assert(to); assert(toend); assert(from); assert(fromend); assert(retlen) PERL_CALLCONV void Perl_delete_eval_scope(pTHX); -PERL_CALLCONV void Perl_deprecate(pTHX_ const char *const s) - __attribute__nonnull__(pTHX_1); -#define PERL_ARGS_ASSERT_DEPRECATE \ - assert(s) - PERL_CALLCONV OP* Perl_die(pTHX_ const char* pat, ...) __attribute__format__null_ok__(__printf__,pTHX_1,pTHX_2); |