com php-src: make default_exception_ce and error_exce ption_ce static: Zend/zend_exceptions.c
| From: | Nuno Lopes | Date: | Thu, 02 Aug 2012 10:44:15 +0000 |
| Subject: | com php-src: make default_exception_ce and error_exce ption_ce static: Zend/zend_exceptions.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-69756@lists.php.net to get a copy of this message | ||
Commit: 81369bcc2027f455d3ff8ead6d884159f2194cfd
Author: Nuno Lopes <nlopess@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);