diff options
author | Reeze Xia <reeze@php.net> | 2015-03-08 19:24:50 +0800 |
---|---|---|
committer | Reeze Xia <reeze@php.net> | 2015-03-08 19:25:55 +0800 |
commit | 609f05fc19864384fe03a4b97ad263cc0aaf32a0 (patch) | |
tree | 0639ad2ab04698e5f7187ab2b068f5c88286b1cf /ext/session | |
parent | 0cb869d908ab0427ede6596009176c22b43a2aae (diff) | |
download | php-git-609f05fc19864384fe03a4b97ad263cc0aaf32a0.tar.gz |
ZTS cleanup
Diffstat (limited to 'ext/session')
-rw-r--r-- | ext/session/mod_user.c | 2 | ||||
-rw-r--r-- | ext/session/session.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ext/session/mod_user.c b/ext/session/mod_user.c index 89a3eca205..1196d867af 100644 --- a/ext/session/mod_user.c +++ b/ext/session/mod_user.c @@ -222,7 +222,7 @@ PS_VALIDATE_SID_FUNC(user) } /* dummy function defined by PS_MOD */ - return php_session_validate_sid(mod_data, key TSRMLS_CC); + return php_session_validate_sid(mod_data, key); } PS_UPDATE_TIMESTAMP_FUNC(user) diff --git a/ext/session/session.c b/ext/session/session.c index 6afdc73757..8c5943a28c 100644 --- a/ext/session/session.c +++ b/ext/session/session.c @@ -2202,7 +2202,7 @@ static PHP_FUNCTION(session_start) } if (PS(id) && !(PS(id)->len)) { - php_error_docref(NULL TSRMLS_CC, E_WARNING, "Cannot start session with empty session ID"); + php_error_docref(NULL, E_WARNING, "Cannot start session with empty session ID"); RETURN_FALSE; } @@ -2632,7 +2632,7 @@ static PHP_MINIT_FUNCTION(session) /* {{{ */ php_session_id_iface_entry->ce_flags |= ZEND_ACC_INTERFACE; INIT_CLASS_ENTRY(ce, PS_UPDATE_TIMESTAMP_IFACE_NAME, php_session_update_timestamp_iface_functions); - php_session_update_timestamp_iface_entry = zend_register_internal_class(&ce TSRMLS_CC); + php_session_update_timestamp_iface_entry = zend_register_internal_class(&ce); php_session_update_timestamp_iface_entry->ce_flags |= ZEND_ACC_INTERFACE; /* Register base class */ |