summaryrefslogtreecommitdiff
path: root/lib/tdb
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:30 +0200
commit25939a627f15b7a21110767d47be0f50f32d3943 (patch)
treee24735e7ea5430a4055b74d52cf0f816a86c7d7c /lib/tdb
parent13bfcd5a93c47c9db8b644560a1bcc398facb136 (diff)
downloadsamba-25939a627f15b7a21110767d47be0f50f32d3943.tar.gz
samba-25939a627f15b7a21110767d47be0f50f32d3943.tar.bz2
samba-25939a627f15b7a21110767d47be0f50f32d3943.zip
tdb:mksigs: ignore symbols (like _DEPRECATED_) after closing function parentheses
Michael
Diffstat (limited to 'lib/tdb')
-rwxr-xr-xlib/tdb/script/mksigs.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/tdb/script/mksigs.pl b/lib/tdb/script/mksigs.pl
index ab2e18ec52..bd76a04a26 100755
--- a/lib/tdb/script/mksigs.pl
+++ b/lib/tdb/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;