mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
MFB: fix ZTS build
This commit is contained in:
parent
bbe92ef947
commit
2514944be8
1 changed files with 3 additions and 3 deletions
|
@ -187,7 +187,7 @@ static int pcre_clean_cache(void *data, void *arg TSRMLS_DC)
|
|||
/* }}} */
|
||||
|
||||
/* {{{ static make_subpats_table */
|
||||
static char **make_subpats_table(int num_subpats, pcre_cache_entry *pce)
|
||||
static char **make_subpats_table(int num_subpats, pcre_cache_entry *pce TSRMLS_DC)
|
||||
{
|
||||
pcre_extra *extra = pce->extra;
|
||||
int name_cnt = 0, name_size, ni = 0;
|
||||
|
@ -673,7 +673,7 @@ PHPAPI void php_pcre_match_impl(pcre_cache_entry *pce, zend_uchar utype, char *s
|
|||
* allocate the table, even though there may be no named subpatterns. This
|
||||
* avoids somewhat more complicated logic in the inner loops.
|
||||
*/
|
||||
subpat_names = make_subpats_table(num_subpats, pce);
|
||||
subpat_names = make_subpats_table(num_subpats, pce TSRMLS_CC);
|
||||
if (!subpat_names) {
|
||||
RETURN_FALSE;
|
||||
}
|
||||
|
@ -1148,7 +1148,7 @@ PHPAPI char *php_pcre_replace_impl(pcre_cache_entry *pce, zend_uchar utype, char
|
|||
* allocate the table, even though there may be no named subpatterns. This
|
||||
* avoids somewhat more complicated logic in the inner loops.
|
||||
*/
|
||||
subpat_names = make_subpats_table(num_subpats, pce);
|
||||
subpat_names = make_subpats_table(num_subpats, pce TSRMLS_CC);
|
||||
if (!subpat_names) {
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue