summaryrefslogtreecommitdiff
path: root/lib
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:27 +0200
commit1e2393c17829a14ce409091c35fa78b9373c57fb (patch)
treeb421355e907beeb9ac6a355fd4cf59b095ad70b4 /lib
parent1f1a900dd7d2a95a248805cfbbdeed47c666c4b4 (diff)
downloadsamba-1e2393c17829a14ce409091c35fa78b9373c57fb.tar.gz
samba-1e2393c17829a14ce409091c35fa78b9373c57fb.tar.bz2
samba-1e2393c17829a14ce409091c35fa78b9373c57fb.zip
tevent:mksigs: ignore struct forward declarations.
Michael
Diffstat (limited to 'lib')
-rwxr-xr-xlib/tevent/script/mksigs.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/tevent/script/mksigs.pl b/lib/tevent/script/mksigs.pl
index 28a2e747a0..3eb90d99dc 100755
--- a/lib/tevent/script/mksigs.pl
+++ b/lib/tevent/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;