checkAPIs: __func__ is now part of C99, allow it

This commit is contained in:
João Valverde 2021-06-25 05:47:04 +01:00 committed by Wireshark GitLab Utility
parent 11d4da9ef6
commit 3fb7a6e0d5
1 changed files with 0 additions and 5 deletions

View File

@ -1179,11 +1179,6 @@ while ($_ = pop @filelist)
$errorCount += check_hf_entries(\$fileContents, $filename);
}
if ($fileContents =~ m{ __func__ }xo)
{
print STDERR "Error: Found __func__ (which is not portable, use G_STRFUNC) in " .$filename."\n";
$errorCount++;
}
if ($fileContents =~ m{ %ll }xo)
{
# use G_GINT64_MODIFIER instead of ll