summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorDagfinn Ilmari Mannsåker <ilmari@ilmari.org>2022-08-23 19:46:39 +0100
committerYves Orton <demerphq@gmail.com>2023-02-10 12:25:24 +0800
commit8ab54e77a59c2f25aff25440e4592404cc8d8d72 (patch)
treea3077417c07a8112d02f9f188fdc2e79c9bc06c5 /proto.h
parentb162e59c910a96e062c8c37d6270fe38b2db3383 (diff)
downloadperl-8ab54e77a59c2f25aff25440e4592404cc8d8d72.tar.gz
Mark dowantarray() as deprecated
This will make uses of the also-deprecated GIMME macro emit a compile-time warning.
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/proto.h b/proto.h
index a4f9c5f606..56138cc139 100644
--- a/proto.h
+++ b/proto.h
@@ -1017,6 +1017,7 @@ Perl_dounwind(pTHX_ I32 cxix);
PERL_CALLCONV U8
Perl_dowantarray(pTHX)
+ __attribute__deprecated__
__attribute__warn_unused_result__;
#define PERL_ARGS_ASSERT_DOWANTARRAY