]> granicus.if.org Git - php/commitdiff
- Fix build
authorMarcus Boerger <helly@php.net>
Sun, 26 Sep 2004 22:19:57 +0000 (22:19 +0000)
committerMarcus Boerger <helly@php.net>
Sun, 26 Sep 2004 22:19:57 +0000 (22:19 +0000)
Zend/zend.h
Zend/zend_variables.h

index f4b6ae6e94339bccf9eda95840f0a5933404cbf9..c848e9395dab16c9b99adfc3042b59b778527f9a 100644 (file)
@@ -605,6 +605,7 @@ END_EXTERN_C()
 
 #define ZEND_MAX_RESERVED_RESOURCES    4
 
+#include "zend_variables.h"
 
 #endif /* ZEND_H */
 
index 8cdf76e639a257f7a4608a2a6c781f308add27bf..a30ba91fe982cfeef19f98bb3cdd697bf69bf42a 100644 (file)
@@ -40,9 +40,9 @@ ZEND_API int _zval_copy_ctor_func(zval *zvalue ZEND_FILE_LINE_DC);
 static inline int _zval_copy_ctor(zval *zvalue ZEND_FILE_LINE_DC)
 {
         if (zvalue->type <= IS_BOOL) {
-                return;
+                return SUCCESS;
         }
-       _zval_copy_ctor_func(zvalue ZEND_FILE_LINE_CC);
+       return _zval_copy_ctor_func(zvalue ZEND_FILE_LINE_CC);
 }