From 636f8b5e5b4c8c42edb626a6bd7ef497477237d7 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Fri, 11 Sep 2009 15:11:16 +0200 Subject: tevent:mksigs: ignore symbols (like _DEPRECATED_) after closing function parentheses Michael --- lib/tevent/script/mksigs.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/tevent/script/mksigs.pl b/lib/tevent/script/mksigs.pl index ab2e18ec52..bd76a04a26 100755 --- a/lib/tevent/script/mksigs.pl +++ b/lib/tevent/script/mksigs.pl @@ -160,6 +160,7 @@ while (my $LINE = <>) { $LINE =~ s/(.*?)\s*$/$1/; $LINE =~ s/^(.*\))\s+PRINTF_ATTRIBUTE\(.*\);$/$1;/; + $LINE =~ s/^(.*\))\s*[a-zA-Z0-9_]+\s*;$/$1;/; # remove parameter names - slightly too coarse probably $LINE =~ s/([\s\(]\*?)[_0-9a-zA-Z]+\s*([,\)])/$1$2/g; -- cgit