diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2009-07-27 16:50:38 +0200 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2009-07-27 17:06:29 +0200 |
commit | a5c2649359e39faef8af6f801a2443a7a2d47008 (patch) | |
tree | 3b0decfcc7c3fa3d576294aa8a8984e1737a9c33 /embed.pl | |
parent | 304efdcbf5a203c3e0f6c6f0db51fdcdf250aca1 (diff) | |
download | perl-a5c2649359e39faef8af6f801a2443a7a2d47008.tar.gz |
Add support for new flag D in embed.fnc (deprecated)
Diffstat (limited to 'embed.pl')
-rwxr-xr-x | embed.pl | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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__"; } |