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

tevent:mksigs: ignore symbols (like _DEPRECATED_) after closing function parentheses

Michael
This commit is contained in:
Michael Adam 2009-09-11 15:11:16 +02:00
parent aa7748484f
commit 636f8b5e5b

View File

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