summaryrefslogtreecommitdiff
path: root/lib/talloc/script
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-09-11 14:55:52 +0200
committerMichael Adam <obnox@samba.org>2009-09-11 15:31:32 +0200
commit7b0e0726310c9b5f89af653ed82266a2f02eb357 (patch)
tree6350deb62add9dfd173b0583b41f6f7263b268da /lib/talloc/script
parente60c775835e45cc912660ec253521a9d7f07874c (diff)
downloadsamba-7b0e0726310c9b5f89af653ed82266a2f02eb357.tar.gz
samba-7b0e0726310c9b5f89af653ed82266a2f02eb357.tar.bz2
samba-7b0e0726310c9b5f89af653ed82266a2f02eb357.zip
talloc:mksigs: ignore struct forward declarations.
Michael
Diffstat (limited to 'lib/talloc/script')
-rwxr-xr-xlib/talloc/script/mksigs.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/talloc/script/mksigs.pl b/lib/talloc/script/mksigs.pl
index 28a2e747a0..3eb90d99dc 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;