]> granicus.if.org Git - php/commitdiff
Fix c++ builds
authorMarcus Boerger <helly@php.net>
Wed, 28 Apr 2004 19:20:28 +0000 (19:20 +0000)
committerMarcus Boerger <helly@php.net>
Wed, 28 Apr 2004 19:20:28 +0000 (19:20 +0000)
Zend/zend_exceptions.h

index 059a60479c3eeecce599dbfdea5e558c9634d4e1..e704d61e5e82a9b25fd711a649b93d3ab4e01faa 100644 (file)
@@ -40,7 +40,7 @@ ZEND_API void zend_throw_exception_ex(zend_class_entry *exception_ce, long code
 ZEND_API void zend_throw_exception_object(zval *exception TSRMLS_DC);
 ZEND_API void zend_clear_exception(TSRMLS_D);
 
-ZEND_API void (*zend_throw_exception_hook)(zval *ex TSRMLS_DC);
+extern ZEND_API void (*zend_throw_exception_hook)(zval *ex TSRMLS_DC);
 
 /* show an exception using zend_error(E_ERROR,...) */
 ZEND_API void zend_exception_error(zval *exception TSRMLS_DC);