]> granicus.if.org Git - php/commitdiff
Fix ZTS build
authorYasuo Ohgaki <yohgaki@php.net>
Wed, 16 Dec 2015 02:10:39 +0000 (11:10 +0900)
committerYasuo Ohgaki <yohgaki@php.net>
Wed, 16 Dec 2015 02:10:39 +0000 (11:10 +0900)
ext/session/session.c

index aec2ed06c22dc36f2746a5d08bfaeb34b2456232..4257645cefb4001594df52cd1a5648b0b997ed91 100644 (file)
@@ -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);