summaryrefslogtreecommitdiff
path: root/embed.pl
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2009-07-27 16:50:38 +0200
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2009-07-27 17:06:29 +0200
commita5c2649359e39faef8af6f801a2443a7a2d47008 (patch)
tree3b0decfcc7c3fa3d576294aa8a8984e1737a9c33 /embed.pl
parent304efdcbf5a203c3e0f6c6f0db51fdcdf250aca1 (diff)
downloadperl-a5c2649359e39faef8af6f801a2443a7a2d47008.tar.gz
Add support for new flag D in embed.fnc (deprecated)
Diffstat (limited to 'embed.pl')
-rwxr-xr-xembed.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/embed.pl b/embed.pl
index 50da23207d..9c55cb4b65 100755
--- 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__";
}