diff options
-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 eb1cc68656..6831ae31af 100644 --- a/Zend/zend_alloc.c +++ b/Zend/zend_alloc.c @@ -304,7 +304,7 @@ ZEND_API char *zend_strndup(const char *s, uint length) } -ZEND_API int set_memory_limit(unsigned int memory_limit) +ZEND_API int zend_set_memory_limit(unsigned int memory_limit) { #if MEMORY_LIMIT ALS_FETCH(); diff --git a/Zend/zend_alloc.h b/Zend/zend_alloc.h index 9fe4d74320..85492a2c43 100644 --- a/Zend/zend_alloc.h +++ b/Zend/zend_alloc.h @@ -92,7 +92,7 @@ ZEND_API void _persist_alloc(void *ptr); #define safe_estrdup(ptr) ((ptr)?(estrdup(ptr)):(empty_string)) #define safe_estrndup(ptr,len) ((ptr)?(estrndup((ptr),(len))):(empty_string)) -ZEND_API int set_memory_limit(unsigned int memory_limit); +ZEND_API int zend_set_memory_limit(unsigned int memory_limit); ZEND_API void start_memory_manager(void); ZEND_API void shutdown_memory_manager(int silent, int clean_cache); |