From: George Schlossnagle Date: Fri, 15 Jul 2005 16:47:12 +0000 (+0000) Subject: Darwin seems to like this arrangement much better. X-Git-Tag: RELEASE_0_9~116 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=869d6002d625ef0ee0cbfa69898599f18805ca0e;p=php Darwin seems to like this arrangement much better. --- diff --git a/ext/xsl/php_xsl.c b/ext/xsl/php_xsl.c index 62d8863d6b..327ffc2263 100644 --- a/ext/xsl/php_xsl.c +++ b/ext/xsl/php_xsl.c @@ -31,7 +31,7 @@ /* If you declare any globals in php_xsl.h uncomment this: ZEND_DECLARE_MODULE_GLOBALS(xsl) */ - +zend_class_entry *xsl_xsltprocessor_class_entry; static zend_object_handlers xsl_object_handlers; /* {{{ xsl_functions[] diff --git a/ext/xsl/xsl_fe.h b/ext/xsl/xsl_fe.h index d0c673271a..c6e9a68daf 100644 --- a/ext/xsl/xsl_fe.h +++ b/ext/xsl/xsl_fe.h @@ -22,7 +22,7 @@ #define XSL_FE_H extern zend_function_entry php_xsl_xsltprocessor_class_functions[]; -zend_class_entry *xsl_xsltprocessor_class_entry; +extern zend_class_entry *xsl_xsltprocessor_class_entry; PHP_FUNCTION(xsl_xsltprocessor_import_stylesheet); PHP_FUNCTION(xsl_xsltprocessor_transform_to_doc);