From 5a43cd63588c88eaa0ca26217714d74a6422d4d6 Mon Sep 17 00:00:00 2001 From: Bill Meier Date: Wed, 21 May 2008 14:49:50 +0000 Subject: Check for a few addt'l functions... svn path=/trunk/; revision=25341 --- tools/checkAPIs.pl | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/checkAPIs.pl b/tools/checkAPIs.pl index de670da9b4..3ab6e85410 100755 --- a/tools/checkAPIs.pl +++ b/tools/checkAPIs.pl @@ -52,6 +52,11 @@ my @prohibitedAPIs= 'htons', 'strdup', 'strndup', + ### non-ANSI C + # use memset, memcpy, memcmp instead of these: + 'bzero', + 'bcopy', + 'bcmp', # use ep_*, se_*, or g_* functions instead of these: # (One thing to be aware of is that space allocated with malloc() # may not be freeable--at least on Windows--with g_free() and @@ -83,7 +88,9 @@ my @prohibitedAPIs= 'unlink', 'remove', 'fopen', - 'freopen' + 'freopen', + # Misc + 'tmpnam' # use mkstemp ); # APIs that SHOULD NOT be used in Wireshark (any more) -- cgit v1.2.3