From 76b63489495ee1d49182a20525d7e6629cbab493 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 8 Mar 2019 10:47:29 +0100 Subject: memdebug: make debug-specific functions use curl_dbg_ prefix To not "collide" or use up the regular curl_ name space. Also makes them easier to detect in helper scripts. Closes #3656 --- scripts/singleuse.pl | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) (limited to 'scripts') diff --git a/scripts/singleuse.pl b/scripts/singleuse.pl index f26abff87..148aebe9d 100755 --- a/scripts/singleuse.pl +++ b/scripts/singleuse.pl @@ -145,22 +145,6 @@ my %api = ( # the following funcions are provided globally in debug builds 'curl_easy_perform_ev' => 'debug-build', - 'curl_memdebug' => 'debug-build', - 'curl_memlimit' => 'debug-build', - 'curl_memlog' => 'debug-build', - 'curl_accept' => 'debug-build', - 'curl_docalloc' => 'debug-build', - 'curl_dofree' => 'debug-build', - 'curl_domalloc' => 'debug-build', - 'curl_dorealloc' => 'debug-build', - 'curl_dorecv' => 'debug-build', - 'curl_dosend' => 'debug-build', - 'curl_dostrdup' => 'debug-build', - 'curl_fclose' => 'debug-build', - 'curl_fopen' => 'debug-build', - 'curl_sclose' => 'debug-build', - 'curl_socket' => 'debug-build', - 'curl_socketpair' => 'debug-build', ); open(N, "nm $file|") || @@ -202,6 +186,9 @@ for(sort keys %exist) { $err++; } } + elsif($_ =~ /^curl_dbg_/) { + # we ignore the memdebug symbols + } elsif($wl{$_}) { #print "$_ is WL\n"; } -- cgit v1.2.3