summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-09-11 14:55:52 +0200
committerMichael Adam <obnox@samba.org>2009-09-11 15:31:30 +0200
commitecd12bfb382da072595391d5bf11a893d39a0479 (patch)
tree609a848489b44096d4c069dfc2c0df828d722d3a
parent400f08450b26f38a7dafd1d458542b4d9a8cb19e (diff)
downloadsamba-ecd12bfb382da072595391d5bf11a893d39a0479.tar.gz
samba-ecd12bfb382da072595391d5bf11a893d39a0479.tar.bz2
samba-ecd12bfb382da072595391d5bf11a893d39a0479.zip
tdb:mksigs: ignore struct forward declarations.
Michael
-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 28a2e747a0..3eb90d99dc 100755
--- 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;