From: Yasuo Ohgaki Date: Wed, 16 Dec 2015 02:10:39 +0000 (+0900) Subject: Fix ZTS build X-Git-Tag: php-7.0.2RC1~11^2~16^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=57be57ac94ef46fa7a73889a1e7d6e75aa4ab00f;p=php Fix ZTS build --- 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);