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:
310d673
)
tdb:mksigs: ignore struct forward declarations.
author
Michael Adam
<obnox@samba.org>
Fri, 11 Sep 2009 12:55:52 +0000
(14:55 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Wed, 16 Dec 2009 07:03:45 +0000
(08:03 +0100)
Michael
(cherry picked from samba commit
ecd12bfb382da072595391d5bf11a893d39a0479
)
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 28a2e747a07d70629e812ec2f75c74f3e23e5c4b..3eb90d99dc6dd34466eca2ff106b95f52f249f7b 100755
(executable)
--- a/
lib/tdb/script/mksigs.pl
+++ b/
lib/tdb/script/mksigs.pl
@@
-121,6
+121,7
@@
while (my $LINE = <>) {
next if ($LINE =~ /^typedef\s/);
next if ($LINE =~ /^enum\s+[^\{\(]+\s+\{/);
next if ($LINE =~ /^struct\s+[^\{\(]+\s+\{.*\}\s*;/);
+ next if ($LINE =~ /^struct\s+[a-zA-Z0-9_]+\s*;/);
# concetenate function prototypes that stretch over multiple lines
$REST = $LINE;