summaryrefslogtreecommitdiff
path: root/lib/talloc
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-09-11 15:11:16 +0200
committerMichael Adam <obnox@samba.org>2009-09-11 15:31:33 +0200
commit82404ad3e47010f892dfae8e3633a1a8f5de6630 (patch)
treeed9ec2050e776314666db5ec2fb810df7dcdcf1d /lib/talloc
parent629ff2b6e2ec7fbd1d1ccac8a7466462aa171d4f (diff)
downloadsamba-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-xlib/talloc/script/mksigs.pl1
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;