diff options
Diffstat (limited to 'Zend')
-rw-r--r-- | Zend/zend_alloc.c | 2 | ||||
-rw-r--r-- | Zend/zend_alloc.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_alloc.c b/Zend/zend_alloc.c index 108575fcbb..8f88368bc3 100644 --- a/Zend/zend_alloc.c +++ b/Zend/zend_alloc.c @@ -2499,7 +2499,7 @@ ZEND_API zend_mm_heap *zend_mm_startup(void) return zend_mm_init(); } -ZEND_API zend_mm_heap *zend_mm_startup_ex(zend_mm_handlers *handlers, void *data, size_t data_size) +ZEND_API zend_mm_heap *zend_mm_startup_ex(const zend_mm_handlers *handlers, void *data, size_t data_size) { #if ZEND_MM_STORAGE zend_mm_storage tmp_storage, *storage; diff --git a/Zend/zend_alloc.h b/Zend/zend_alloc.h index c41568519c..f76494e0d4 100644 --- a/Zend/zend_alloc.h +++ b/Zend/zend_alloc.h @@ -310,7 +310,7 @@ struct _zend_mm_storage { }; ZEND_API zend_mm_storage *zend_mm_get_storage(zend_mm_heap *heap); -ZEND_API zend_mm_heap *zend_mm_startup_ex(zend_mm_handlers *handlers, void *data, size_t data_size); +ZEND_API zend_mm_heap *zend_mm_startup_ex(const zend_mm_handlers *handlers, void *data, size_t data_size); /* |