summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-10-13 11:05:49 +0100
committerNicholas Clark <nick@ccl4.org>2009-10-13 11:08:06 +0100
commit2acdbac104deb9113282247f3dbee83c4705a525 (patch)
treebd905a0581a100f9ed3571004a781c65cb10bfef /proto.h
parent8290c3237cb4f93c9895ceba724c626dd529346f (diff)
downloadperl-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.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/proto.h b/proto.h
index ae13a6fafc..28923d024b 100644
--- a/proto.h
+++ b/proto.h
@@ -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);