X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=embed.pl;h=9c55cb4b6596077e3b7a8a5f1dee05c0168c1762;hb=000c65fce914409ad42f49763dbced48187b5baf;hp=50da23207dabfa32478367027cdf4e07785ab2a2;hpb=6294c16100e79c65d9c9883d11b45631d3ded9a1;p=p5sagit%2Fp5-mst-13.2.git diff --git a/embed.pl b/embed.pl index 50da232..9c55cb4 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__"; }