summaryrefslogtreecommitdiff
path: root/lib/talloc/script
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-09-11 15:20:34 +0200
committerMichael Adam <obnox@samba.org>2009-09-11 15:31:35 +0200
commitea2b9e0fb1dfd433e2dd054272f4ab8a37378178 (patch)
tree51c0b9d9a70acd9644cf1741fa168133f830b584 /lib/talloc/script
parent56c09d2fb23d652e48d5e9e5dcc6557c1a815a6b (diff)
downloadsamba-ea2b9e0fb1dfd433e2dd054272f4ab8a37378178.tar.gz
samba-ea2b9e0fb1dfd433e2dd054272f4ab8a37378178.tar.bz2
samba-ea2b9e0fb1dfd433e2dd054272f4ab8a37378178.zip
talloc:mksigs: allow PRINTF_ATTRIBUTE(..) macros function types as funcion args
Michael
Diffstat (limited to 'lib/talloc/script')
-rwxr-xr-xlib/talloc/script/mksigs.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/talloc/script/mksigs.pl b/lib/talloc/script/mksigs.pl
index a34950b09a..755cd79603 100755
--- a/lib/talloc/script/mksigs.pl
+++ b/lib/talloc/script/mksigs.pl
@@ -159,7 +159,7 @@ while (my $LINE = <>) {
# remove trailing spaces
$LINE =~ s/(.*?)\s*$/$1/;
- $LINE =~ s/^(.*\))\s+PRINTF_ATTRIBUTE\(.*\);$/$1;/;
+ $LINE =~ s/^(.*\))\s+PRINTF_ATTRIBUTE\([^\)]*\)(\s*[;,])/$1$2/;
$LINE =~ s/^(.*\))\s*[a-zA-Z0-9_]+\s*;$/$1;/;
# remove parameter names - slightly too coarse probably