From 547cda2f1f5023da469f841f34bd86a7ec33c4f5 Mon Sep 17 00:00:00 2001 From: Jeff Morriss Date: Tue, 13 May 2008 12:49:32 +0000 Subject: Update comments. svn path=/trunk/; revision=25286 --- tools/checkAPIs.pl | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'tools') diff --git a/tools/checkAPIs.pl b/tools/checkAPIs.pl index 51248d6189..de670da9b4 100755 --- a/tools/checkAPIs.pl +++ b/tools/checkAPIs.pl @@ -61,7 +61,8 @@ my @prohibitedAPIs= # Locale-unsafe APIs # These may have unexpected behaviors in some locales (e.g., # "I" isn't always the upper-case form of "i", and "i" isn't - # always the lower-case form of "I"). + # always the lower-case form of "I"). Use the g_ascii_* version + # instead. 'strcasecmp', 'strncasecmp', 'g_strcasecmp', @@ -88,11 +89,11 @@ my @prohibitedAPIs= # APIs that SHOULD NOT be used in Wireshark (any more) my @deprecatedAPIs= ( - # Depreciated glib functions + ### Depreciated glib functions + # use g_string_printf() instead of: 'g_string_sprintf', - # use g_string_printf(). + # use g_string_append_printf instead of: 'g_string_sprintfa', - # use g_string_append_printf 'g_tree_traverse', 'g_basename', 'g_dirname', -- cgit v1.2.3