From 7b0e0726310c9b5f89af653ed82266a2f02eb357 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Fri, 11 Sep 2009 14:55:52 +0200 Subject: [PATCH] talloc:mksigs: ignore struct forward declarations. Michael --- lib/talloc/script/mksigs.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/talloc/script/mksigs.pl b/lib/talloc/script/mksigs.pl index 28a2e747a07..3eb90d99dc6 100755 --- a/lib/talloc/script/mksigs.pl +++ b/lib/talloc/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; -- 2.11.4.GIT