aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2008-05-08 18:24:08 +0000
committerAnders Broman <anders.broman@ericsson.com>2008-05-08 18:24:08 +0000
commitdb6d0b9a4ce0e8f89313bd6fc1d29327a79cae6b (patch)
tree27b3b08ac00cd2bcd9f16cf81817e3b2158c6094 /tools
parent693291377eacb190b959e9905255005390104f56 (diff)
Run checkAPI in plugins dir.
svn path=/trunk/; revision=25259
Diffstat (limited to 'tools')
-rwxr-xr-xtools/checkAPIs.pl30
1 files changed, 24 insertions, 6 deletions
diff --git a/tools/checkAPIs.pl b/tools/checkAPIs.pl
index 8b17aef693..51248d6189 100755
--- a/tools/checkAPIs.pl
+++ b/tools/checkAPIs.pl
@@ -70,12 +70,6 @@ my @prohibitedAPIs=
'g_strdown',
'g_string_up',
'g_string_down',
- # Depreciated glib functions
- 'g_string_sprintf',
- # use g_string_printf().
- 'g_string_sprintfa',
- # use g_string_append_print
- 'g_tree_traverse',
# Use the eth_* version of these:
# (Necessary because on Windows we use UTF8 for throughout the code
# so we must tweak that to UTF16 before operating on the file. Code
@@ -94,6 +88,30 @@ my @prohibitedAPIs=
# APIs that SHOULD NOT be used in Wireshark (any more)
my @deprecatedAPIs=
(
+ # Depreciated glib functions
+ 'g_string_sprintf',
+ # use g_string_printf().
+ 'g_string_sprintfa',
+ # use g_string_append_printf
+ 'g_tree_traverse',
+ 'g_basename',
+ 'g_dirname',
+ 'g_hash_table_freeze',
+ 'g_hash_table_thaw',
+ 'G_HAVE_GINT64',
+ 'g_io_channel_close',
+ 'g_io_channel_read',
+ 'g_io_channel_seek',
+ 'g_io_channel_write',
+ 'g_main_new',
+ 'g_main_destroy',
+ 'g_main_run',
+ 'g_main_set_poll_func',
+ 'g_scanner_add_symbol',
+ 'g_scanner_remove_symbol',
+ 'g_scanner_foreach_symbol',
+ 'g_scanner_freeze_symbol_table',
+ 'g_scanner_thaw_symbol_table',
# Wireshark should not write to stdout (?)
# (Of course tshark should!)
'printf',