From 1e2393c17829a14ce409091c35fa78b9373c57fb Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Fri, 11 Sep 2009 14:55:52 +0200 Subject: tevent:mksigs: ignore struct forward declarations. Michael --- lib/tevent/script/mksigs.pl | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/tevent') 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; -- cgit