summaryrefslogtreecommitdiff
path: root/ext/session/session.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/session/session.c')
-rw-r--r--ext/session/session.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/session/session.c b/ext/session/session.c
index aec2ed06c2..4257645cef 100644
--- a/ext/session/session.c
+++ b/ext/session/session.c
@@ -469,7 +469,7 @@ PHPAPI int php_session_valid_key(const char *key) /* {{{ */
/* }}} */
-static void php_session_gc(void) /* {{{ */
+static void php_session_gc(TSRMLS_D) /* {{{ */
{
int nrand;
@@ -525,7 +525,7 @@ static void php_session_initialize(TSRMLS_D) /* {{{ */
}
/* GC must be done before read */
- php_session_gc();
+ php_session_gc(TSRMLS_C);
/* Read data */
php_session_track_init(TSRMLS_C);