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:30 +0200 |
commit | 25939a627f15b7a21110767d47be0f50f32d3943 (patch) | |
tree | e24735e7ea5430a4055b74d52cf0f816a86c7d7c /lib/tdb | |
parent | 13bfcd5a93c47c9db8b644560a1bcc398facb136 (diff) | |
download | samba-25939a627f15b7a21110767d47be0f50f32d3943.tar.gz samba-25939a627f15b7a21110767d47be0f50f32d3943.tar.xz samba-25939a627f15b7a21110767d47be0f50f32d3943.zip |
tdb:mksigs: ignore symbols (like _DEPRECATED_) after closing function parentheses
Michael
Diffstat (limited to 'lib/tdb')
-rwxr-xr-x | lib/tdb/script/mksigs.pl | 1 |
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; |