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:
parent
aa7748484f
commit
636f8b5e5b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user