[PHP-CVS] com php-src: make default_exception_ce and error_exception_ce static: Zend/zend_exceptions.c

2012-08-02 Thread Nuno Lopes
Commit:aa8eabddd662fe286c08af014384692e03c093a9
Author:Nuno Lopes nlop...@php.net Thu, 2 Aug 2012 11:44:15 +0100
Parents:   53c8612fe780a80fde64da118587e6096b16b595
Branches:  PHP-5.4

Link:   
http://git.php.net/?p=php-src.git;a=commitdiff;h=aa8eabddd662fe286c08af014384692e03c093a9

Log:
make default_exception_ce and error_exception_ce static

Changed paths:
  M  Zend/zend_exceptions.c


Diff:
diff --git a/Zend/zend_exceptions.c b/Zend/zend_exceptions.c
index 7bb7792..787e66b 100644
--- a/Zend/zend_exceptions.c
+++ b/Zend/zend_exceptions.c
@@ -29,8 +29,8 @@
 #include zend_vm.h
 #include zend_dtrace.h
 
-zend_class_entry *default_exception_ce;
-zend_class_entry *error_exception_ce;
+static zend_class_entry *default_exception_ce;
+static zend_class_entry *error_exception_ce;
 static zend_object_handlers default_exception_handlers;
 ZEND_API void (*zend_throw_exception_hook)(zval *ex TSRMLS_DC);


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-CVS] com php-src: make default_exception_ce and error_exception_ce static: Zend/zend_exceptions.c

2012-08-02 Thread Nuno Lopes
Commit:81369bcc2027f455d3ff8ead6d884159f2194cfd
Author:Nuno Lopes nlop...@php.net Thu, 2 Aug 2012 11:44:15 +0100
Parents:   3ac50cfe3f6fb825298e3d81ec1a527d9e2a3e5d
Branches:  master

Link:   
http://git.php.net/?p=php-src.git;a=commitdiff;h=81369bcc2027f455d3ff8ead6d884159f2194cfd

Log:
make default_exception_ce and error_exception_ce static

Changed paths:
  M  Zend/zend_exceptions.c


Diff:
diff --git a/Zend/zend_exceptions.c b/Zend/zend_exceptions.c
index 7bb7792..787e66b 100644
--- a/Zend/zend_exceptions.c
+++ b/Zend/zend_exceptions.c
@@ -29,8 +29,8 @@
 #include zend_vm.h
 #include zend_dtrace.h
 
-zend_class_entry *default_exception_ce;
-zend_class_entry *error_exception_ce;
+static zend_class_entry *default_exception_ce;
+static zend_class_entry *error_exception_ce;
 static zend_object_handlers default_exception_handlers;
 ZEND_API void (*zend_throw_exception_hook)(zval *ex TSRMLS_DC);


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php