1
0
mirror of https://github.com/php/php-src.git synced 2026-03-26 17:22:15 +01:00

fix ZTS build

This commit is contained in:
Antony Dovgal
2009-06-01 14:03:24 +00:00
parent 8e7fa70fd5
commit 00a461a989
2 changed files with 3 additions and 3 deletions

View File

@@ -393,7 +393,7 @@ PHPAPI void php_json_encode(smart_str *buf, zval *val TSRMLS_DC) /* {{{ */
}
/* }}} */
PHPAPI void php_json_decode(zval *return_value, char *buf, int buf_len, zend_bool assoc) /* {{{ */
PHPAPI void php_json_decode(zval *return_value, char *buf, int buf_len, zend_bool assoc TSRMLS_DC) /* {{{ */
{
unsigned short *utf16;
int utf16_len;
@@ -487,7 +487,7 @@ static PHP_FUNCTION(json_decode)
RETURN_NULL();
}
php_json_decode(return_value, parameter, parameter_len, assoc);
php_json_decode(return_value, parameter, parameter_len, assoc TSRMLS_CC);
}
/* }}} */

View File

@@ -45,7 +45,7 @@ extern zend_module_entry json_module_entry;
#endif
PHPAPI void php_json_encode(smart_str *buf, zval *val TSRMLS_DC);
PHPAPI void php_json_decode(zval *return_value, char *buf, int buf_len, zend_bool assoc);
PHPAPI void php_json_decode(zval *return_value, char *buf, int buf_len, zend_bool assoc TSRMLS_DC);
#endif /* PHP_JSON_H */