git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
400f084
)
tdb:mksigs: ignore struct forward declarations.
author
Michael Adam
<obnox@samba.org>
Fri, 11 Sep 2009 12:55:52 +0000
(14:55 +0200)
committer
Michael Adam
<obnox@samba.org>
Fri, 11 Sep 2009 13:31:30 +0000
(15:31 +0200)
Michael
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;