summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYves Orton <demerphq@gmail.com>2023-03-18 22:40:07 +0100
committerYves Orton <demerphq@gmail.com>2023-03-19 18:29:44 +0800
commit667b5e477c41bf4038ea32ab84f239f32e5d04a4 (patch)
tree20ac2b48ec3e07a176a4974ca61b34fc30901047
parentb6b3bfb8b86974050b15778fdd27d1b2580ad80a (diff)
downloadperl-667b5e477c41bf4038ea32ab84f239f32e5d04a4.tar.gz
embed.fnc - remove redundant deprecate_xxx() macro declarations
autodoc.pl gets unhappy if you document a macro in place and ALSO list it in embed.fnc. The warnings it produce tend to get crowded out from a parallel make, but @iabyn noticed and (rightly) complained. This removes the redundant definitions.
-rw-r--r--embed.fnc10
-rw-r--r--proto.h9
2 files changed, 0 insertions, 19 deletions
diff --git a/embed.fnc b/embed.fnc
index f6fb589aca..e9c88a017c 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -3894,16 +3894,6 @@ EXpx |SV * |sv_setsv_cow |NULLOK SV *dsv \
|NN SV *ssv
#endif /* defined(PERL_ANY_COW) */
#if defined(PERL_CORE)
-Cdm |void |deprecate |U32 category \
- |"construct"
-Cdm |void |deprecate_disappears_in \
- |U32 category \
- |"when" \
- |"construct"
-Cdm |void |deprecate_fatal_in \
- |U32 category \
- |"when" \
- |"construct"
p |void |opslab_force_free \
|NN OPSLAB *slab
p |void |opslab_free |NN OPSLAB *slab
diff --git a/proto.h b/proto.h
index f58ae1277c..694a5fde6d 100644
--- a/proto.h
+++ b/proto.h
@@ -6033,15 +6033,6 @@ Perl_sv_setsv_cow(pTHX_ SV *dsv, SV *ssv);
#endif /* defined(PERL_ANY_COW) */
#if defined(PERL_CORE)
-/* PERL_CALLCONV void
-deprecate(pTHX_ U32 category, const char * const construct); */
-
-/* PERL_CALLCONV void
-deprecate_disappears_in(pTHX_ U32 category, const char * const when, const char * const construct); */
-
-/* PERL_CALLCONV void
-deprecate_fatal_in(pTHX_ U32 category, const char * const when, const char * const construct); */
-
PERL_CALLCONV void
Perl_opslab_force_free(pTHX_ OPSLAB *slab)
__attribute__visibility__("hidden");