diff options
author | Michael Adam <obnox@samba.org> | 2009-09-11 15:20:34 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2009-09-11 15:31:35 +0200 |
commit | ea2b9e0fb1dfd433e2dd054272f4ab8a37378178 (patch) | |
tree | 51c0b9d9a70acd9644cf1741fa168133f830b584 /lib/talloc/script | |
parent | 56c09d2fb23d652e48d5e9e5dcc6557c1a815a6b (diff) | |
download | samba-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-x | lib/talloc/script/mksigs.pl | 2 |
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 |