diff options
author | Michael Adam <obnox@samba.org> | 2009-09-11 15:11:16 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2009-09-11 15:31:27 +0200 |
commit | 636f8b5e5b4c8c42edb626a6bd7ef497477237d7 (patch) | |
tree | f54f8731344642630759cda58895fdbd941849c9 /lib/tevent/script | |
parent | aa7748484fa23da36c843115c5624a090d08dbad (diff) | |
download | samba-636f8b5e5b4c8c42edb626a6bd7ef497477237d7.tar.gz samba-636f8b5e5b4c8c42edb626a6bd7ef497477237d7.tar.bz2 samba-636f8b5e5b4c8c42edb626a6bd7ef497477237d7.zip |
tevent:mksigs: ignore symbols (like _DEPRECATED_) after closing function parentheses
Michael
Diffstat (limited to 'lib/tevent/script')
-rwxr-xr-x | lib/tevent/script/mksigs.pl | 1 |
1 files changed, 1 insertions, 0 deletions
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; |