From 871ff65fd161eb9f96577ae0a35599075eabc7cc Mon Sep 17 00:00:00 2001 From: Andrey Hristov Date: Tue, 7 Apr 2015 21:48:08 +0200 Subject: Rename prefixed mysqlnd functions - prefixed with undescore, which were accessible through a macro. Also removing the access macros. These prefixed functions were used, similarly to many functions in Zend2, because of TSRMLS - the macro was adding the the tsrm pointer to the call. However, as in Zend3 no TSRM pointers are passed down the stack, because of the usage of cached TSRM pointer in a real thread local variable, these macros and prefixed naming have lost their purpose. --- ext/mysqlnd/mysqlnd_debug.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/mysqlnd/mysqlnd_debug.c') diff --git a/ext/mysqlnd/mysqlnd_debug.c b/ext/mysqlnd/mysqlnd_debug.c index 96f78ba503..812963ae1a 100644 --- a/ext/mysqlnd/mysqlnd_debug.c +++ b/ext/mysqlnd/mysqlnd_debug.c @@ -723,8 +723,8 @@ mysqlnd_debug_init(const char * skip_functions[]) /* }}} */ -/* {{{ _mysqlnd_debug */ -PHPAPI void _mysqlnd_debug(const char * mode) +/* {{{ mysqlnd_debug */ +PHPAPI void mysqlnd_debug(const char * mode) { #if PHP_DEBUG MYSQLND_DEBUG * dbg = MYSQLND_G(dbg); -- cgit v1.2.1