diff options
author | Johannes Schlüter <johannes@php.net> | 2010-01-19 10:44:36 +0000 |
---|---|---|
committer | Johannes Schlüter <johannes@php.net> | 2010-01-19 10:44:36 +0000 |
commit | 00afa7278bd2b5cafa757e89a6b104c28195c3b5 (patch) | |
tree | c724ef4784ff038556aa5499356d35099866f408 /ext/spl/spl_heap.h | |
parent | 7e1f29e930bfa26b8de04862556e1c49fc91eda7 (diff) | |
download | php-git-00afa7278bd2b5cafa757e89a6b104c28195c3b5.tar.gz |
- Add extern declarations for fixing the build with some compilers
Diffstat (limited to 'ext/spl/spl_heap.h')
-rw-r--r-- | ext/spl/spl_heap.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/spl/spl_heap.h b/ext/spl/spl_heap.h index dfa2e3b696..0931ba728a 100644 --- a/ext/spl/spl_heap.h +++ b/ext/spl/spl_heap.h @@ -24,11 +24,11 @@ #include "php.h" #include "php_spl.h" -PHPAPI zend_class_entry *spl_ce_SplHeap; -PHPAPI zend_class_entry *spl_ce_SplMinHeap; -PHPAPI zend_class_entry *spl_ce_SplMaxHeap; +extern PHPAPI zend_class_entry *spl_ce_SplHeap; +extern PHPAPI zend_class_entry *spl_ce_SplMinHeap; +extern PHPAPI zend_class_entry *spl_ce_SplMaxHeap; -PHPAPI zend_class_entry *spl_ce_SplPriorityQueue; +extern PHPAPI zend_class_entry *spl_ce_SplPriorityQueue; PHP_MINIT_FUNCTION(spl_heap); |