aboutsummaryrefslogtreecommitdiffstats
path: root/tools/checkAPIs.pl
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2015-06-22 11:38:04 -0700
committerPascal Quantin <pascal.quantin@gmail.com>2015-06-22 18:41:03 +0000
commit45872b9f7bf10476e48187f4b699c6f44943f22a (patch)
tree947d6245f452ee6c39cc99fba5cab953ed71be46 /tools/checkAPIs.pl
parenta94b4434cccb1ba97c3b164afd5fed2104b30824 (diff)
checkAPIs.pl: proto_tree_add_bytes_item takes an encoding parameter
Change-Id: Iebe0e2483d9fd1661bf87ea5efaeb4ae14f6e105 Reviewed-on: https://code.wireshark.org/review/9027 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Diffstat (limited to 'tools/checkAPIs.pl')
-rwxr-xr-xtools/checkAPIs.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/checkAPIs.pl b/tools/checkAPIs.pl
index 63a4a6e44e..79471c563f 100755
--- a/tools/checkAPIs.pl
+++ b/tools/checkAPIs.pl
@@ -1587,7 +1587,7 @@ sub check_proto_tree_add_XXX_encoding($$)
$args =~ s/\(.*\)//sg;
if ($args =~ /,\s*ENC_/xos) {
- if (!($func =~ /proto_tree_add_(time|item|bitmask|bits_item|bits_ret_val|item_ret_int|item_ret_uint)/xos)
+ if (!($func =~ /proto_tree_add_(time|item|bitmask|bits_item|bits_ret_val|item_ret_int|item_ret_uint|bytes_item)/xos)
) {
print STDERR "Error: ".$filename." uses $func with ENC_*.\n";
$errorCount++;