mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
tdb:mksigs: allow PRINTF_ATTRIBUTE(..) macros function types as funcion args
Michael
(cherry picked from samba commit 55dcf928eb
)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be ctdb commit ef1dc585d869a9e48164cd65bafc92c1da245007)
This commit is contained in:
parent
ab37ff7c04
commit
d05b49aaf2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user