summaryrefslogtreecommitdiff
path: root/lib/tevent/script
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-09-11 15:11:16 +0200
committerMichael Adam <obnox@samba.org>2009-09-11 15:31:27 +0200
commit636f8b5e5b4c8c42edb626a6bd7ef497477237d7 (patch)
treef54f8731344642630759cda58895fdbd941849c9 /lib/tevent/script
parentaa7748484fa23da36c843115c5624a090d08dbad (diff)
downloadsamba-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-xlib/tevent/script/mksigs.pl1
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;