git.samba.org
/
sahlberg
/
ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37225f1
)
tdb:mksigs: ignore symbols (like _DEPRECATED_) after closing function parentheses
author
Michael Adam
<obnox@samba.org>
Fri, 11 Sep 2009 13:11:16 +0000
(15:11 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Wed, 16 Dec 2009 07:03:46 +0000
(08:03 +0100)
Michael
(cherry picked from samba commit
25939a627f15b7a21110767d47be0f50f32d3943
)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
lib/tdb/script/mksigs.pl
patch
|
blob
|
history
diff --git
a/lib/tdb/script/mksigs.pl
b/lib/tdb/script/mksigs.pl
index ab2e18ec520d29bd628262f302fce7855f9c4251..bd76a04a268bb619acdec2a3d7627bc5d56f71a6 100755
(executable)
--- 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;