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