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:53:09 +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-69757@lists.php.net to get a copy of this message | ||
Commit: aa8eabddd662fe286c08af014384692e03c093a9
Author: Nuno Lopes <nlopess@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);