summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rwxr-xr-xlib/tevent/script/mksigs.pl10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/tevent/script/mksigs.pl b/lib/tevent/script/mksigs.pl
index 3eb90d99dc6..ab2e18ec520 100755
--- a/lib/tevent/script/mksigs.pl
+++ b/lib/tevent/script/mksigs.pl
@@ -118,11 +118,6 @@ 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;
my $parenthesis = 0;
@@ -156,6 +151,11 @@ 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*;/);
+
# remove trailing spaces
$LINE =~ s/(.*?)\s*$/$1/;