]> granicus.if.org Git - php/commitdiff
- Fix ZTS build.
authorMarkus Fischer <mfischer@php.net>
Tue, 18 Jun 2002 01:51:59 +0000 (01:51 +0000)
committerMarkus Fischer <mfischer@php.net>
Tue, 18 Jun 2002 01:51:59 +0000 (01:51 +0000)
ext/domxml/php_domxml.c

index eafb4822a3ab3ebce5b67e35c7b5f780f6bd71d7..ac4f28af5ae88213ad9ae19e8c2db2fbe1af1026 100644 (file)
@@ -1025,7 +1025,7 @@ static zval *php_xmlparser_new(xmlParserCtxtPtr obj, int *found TSRMLS_DC)
 
 /* {{{ php_xmlparser_make_params()
    Translates a PHP array to a xmlparser parameters array */
-static char **php_xmlparser_make_params(zval *idvars)
+static char **php_xmlparser_make_params(zval *idvars TSRMLS_DC)
 {
        HashTable *parht;
        int parsize;
@@ -4059,7 +4059,7 @@ PHP_FUNCTION(domxml_parser_start_element)
                
        DOMXML_PARAM_THREE(parserp, id, le_domxmlparserp,"s|a", &tagname, &tagname_len, &params);
        if (params != NULL) {
-               atts = php_xmlparser_make_params(params);
+               atts = php_xmlparser_make_params(params TSRMLS_CC);
        }
        if (parserp->myDoc == NULL) {
                php_error(E_WARNING, "%s(): Document was not started", get_active_function_name(TSRMLS_C));