diff options
author | Michael Adam <obnox@samba.org> | 2009-09-11 15:11:16 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2009-09-11 15:31:33 +0200 |
commit | 82404ad3e47010f892dfae8e3633a1a8f5de6630 (patch) | |
tree | ed9ec2050e776314666db5ec2fb810df7dcdcf1d /lib/talloc | |
parent | 629ff2b6e2ec7fbd1d1ccac8a7466462aa171d4f (diff) | |
download | samba-82404ad3e47010f892dfae8e3633a1a8f5de6630.tar.gz samba-82404ad3e47010f892dfae8e3633a1a8f5de6630.tar.bz2 samba-82404ad3e47010f892dfae8e3633a1a8f5de6630.zip |
talloc:mksigs: ignore symbols (like _DEPRECATED_) after closing function parentheses
Michael
Diffstat (limited to 'lib/talloc')
-rwxr-xr-x | lib/talloc/script/mksigs.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/talloc/script/mksigs.pl b/lib/talloc/script/mksigs.pl index ab2e18ec52..bd76a04a26 100755 --- a/lib/talloc/script/mksigs.pl +++ b/lib/talloc/script/mksigs.pl @@ -160,6 +160,7 @@ while (my $LINE = <>) { $LINE =~ s/(.*?)\s*$/$1/; $LINE =~ s/^(.*\))\s+PRINTF_ATTRIBUTE\(.*\);$/$1;/; + $LINE =~ s/^(.*\))\s*[a-zA-Z0-9_]+\s*;$/$1;/; # remove parameter names - slightly too coarse probably $LINE =~ s/([\s\(]\*?)[_0-9a-zA-Z]+\s*([,\)])/$1$2/g; |