summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/mysqlnd.c
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2015-04-07 21:48:08 +0200
committerAndrey Hristov <andrey@php.net>2015-04-07 21:48:08 +0200
commit871ff65fd161eb9f96577ae0a35599075eabc7cc (patch)
tree9e4e47c5788d1a0bd83166e0e72246a81179d483 /ext/mysqlnd/mysqlnd.c
parented0f134a642e7caed94966450435ed5e2a21f426 (diff)
downloadphp-git-871ff65fd161eb9f96577ae0a35599075eabc7cc.tar.gz
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.
Diffstat (limited to 'ext/mysqlnd/mysqlnd.c')
-rw-r--r--ext/mysqlnd/mysqlnd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/mysqlnd/mysqlnd.c b/ext/mysqlnd/mysqlnd.c
index 37794cc8ee..227c420d16 100644
--- a/ext/mysqlnd/mysqlnd.c
+++ b/ext/mysqlnd/mysqlnd.c
@@ -1363,9 +1363,9 @@ static int mysqlnd_stream_array_from_fd_set(MYSQLND ** conn_array, fd_set * fds)
#endif
-/* {{{ _mysqlnd_poll */
+/* {{{ mysqlnd_poll */
PHPAPI enum_func_status
-_mysqlnd_poll(MYSQLND **r_array, MYSQLND **e_array, MYSQLND ***dont_poll, long sec, long usec, int * desc_num)
+mysqlnd_poll(MYSQLND **r_array, MYSQLND **e_array, MYSQLND ***dont_poll, long sec, long usec, int * desc_num)
{
struct timeval tv;
struct timeval *tv_p = NULL;
@@ -3139,9 +3139,9 @@ MYSQLND_CLASS_METHODS_START(mysqlnd_conn)
MYSQLND_CLASS_METHODS_END;
-/* {{{ _mysqlnd_init */
+/* {{{ mysqlnd_init */
PHPAPI MYSQLND *
-_mysqlnd_init(unsigned int flags, zend_bool persistent)
+mysqlnd_init(unsigned int flags, zend_bool persistent)
{
MYSQLND * ret;
DBG_ENTER("mysqlnd_init");