This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
move version details to version::Internals and other clean up
[perl5.git]
/
embed.pl
diff --git
a/embed.pl
b/embed.pl
index
50da232
..
9c55cb4
100755
(executable)
--- a/
embed.pl
+++ b/
embed.pl
@@
-253,6
+253,9
@@
sub write_protos {
if ( $flags =~ /r/ ) {
push @attrs, "__attribute__noreturn__";
}
+ if ( $flags =~ /D/ ) {
+ push @attrs, "__attribute__deprecated__";
+ }
if ( $is_malloc ) {
push @attrs, "__attribute__malloc__";
}