mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
tdb:mksigs: ignore struct forward declarations.
Michael
This commit is contained in:
parent
400f08450b
commit
ecd12bfb38
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user