1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

tevent:mksigs: ignore struct forward declarations.

Michael
This commit is contained in:
Michael Adam 2009-09-11 14:55:52 +02:00
parent 1f1a900dd7
commit 1e2393c178

View File

@ -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;