aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2011-01-06 23:04:48 +0000
committerGuy Harris <guy@alum.mit.edu>2011-01-06 23:04:48 +0000
commite3e9007f28634ec2c63fb5da0e21c158141d0a94 (patch)
treec4849479819047024c694e381d15be1f6b2a85e2 /tools
parentb711e23baa2b66455f5bead7b4358b9b74f9ffcc (diff)
Let's discourage the use of g_warning in dissectors. Either use one of
the dissector-bug macros, or try your best to dissect a packet that's "wrong". svn path=/trunk/; revision=35409
Diffstat (limited to 'tools')
-rwxr-xr-xtools/checkAPIs.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/checkAPIs.pl b/tools/checkAPIs.pl
index ce23d66f73..7d64a8306e 100755
--- a/tools/checkAPIs.pl
+++ b/tools/checkAPIs.pl
@@ -219,6 +219,7 @@ my %APIs = (
# APIs that print to the terminal. Dissectors shouldn't call these
'termoutput' => { 'count_errors' => 0, 'functions' => [
'printf',
+ 'g_warning',
] },
# Deprecated GTK APIs